diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-04 18:27:55 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:41 +0200 |
commit | 491699eedbb5602516126bc2819ab65f78a76996 (patch) | |
tree | d73a25267e6536092ac1c98a3cf55365d2273552 /PKGBUILD | |
download | pkgbuilds-491699eedbb5602516126bc2819ab65f78a76996.tar.xz |
goobook-git: import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..f605e44 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +pkgname=goobook-git +pkgver=1.2.r102.gd2859e7 +pkgrel=1 + +pkgdesc="Search your google contacts from the command-line or mutt" +url="http://goobook.googlecode.com/" +arch=('any') +license=('GPL') + +conflicts=('goobook') +provides=('goobook') + +depends=('python2' 'python2-gdata>=2.0.7' 'python2-setuptools' + 'python2-simplejson' 'python2-hcs_utils>=1.3' + 'python2-keyring' 'python2-six') +makedepends=('git' 'python2-setuptools') + +install=goobook.install + +source=('goobook::git://gitorious.org/goobook/mainline.git') +md5sums=('SKIP') + + +pkgver() { + cd goobook + git describe --long | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' +} + +package() { + cd goobook + sed -ie '58s/distribute/setuptools/' setup.py + python2 setup.py install --root="$pkgdir" --optimize=1 +} |