Skip to content

Instantly share code, notes, and snippets.

@cocreature
Created December 14, 2013 16:39
Show Gist options
  • Save cocreature/7961533 to your computer and use it in GitHub Desktop.
Save cocreature/7961533 to your computer and use it in GitHub Desktop.
pkgbuild pipe2pidgin
# Maintainer: Max Rosin <archlinux at maxrosin dot com>
pkgname=pipe2pidgin-git
pkgver=23.fb28289
pkgrel=1
pkgdesc="Pipe something to Pidgin."
arch=('any')
url="https://github.com/ekeih/pipe2pidgin"
license=('GPL')
depends=('python-dbus')
makedepends=('git')
source=("$pkgname"::'git://github.com/ekeih/pipe2pidgin.git')
md5sums=('SKIP')
pkgver() {
cd $pkgname
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -D "$srcdir/$pkgname/pipe2pidgin" "$pkgdir/usr/bin/pipe2pidgin"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment