public
anonymous / PKGBUILD
Created

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
# Maintainer: Scott Hansen (firecat53) firecat4153 at gmail
pkgname=goobook-git
pkgver=v1.2.84.g6b70010
pkgrel=1
epoch=1
pkgdesc="Makes it possible to use your Google Contacts in an MUA such as Mutt. It's use mimics that of abook (somewhat)."
arch=('any')
url="http://goobook.googlecode.com/"
license=('GPL')
conflicts=('goobook')
provides=('goobook')
depends=('python2' 'python2-gdata>=2.0.7' 'python2-distribute' 'python2-simplejson' 'python2-hcs_utils' 'python2-keyring')
makedepends=('git' 'python2-distribute' 'patch')
source=('git://gitorious.org/goobook/mainline.git'
'goobook.patch')
md5sums=('SKIP'
'da973f33b2ad703713db224e37c70354')
install=goobook.install
 
pkgver() {
cd "$srcdir/mainline"
git describe --always | sed 's|-|.|g'
}
 
build() {
cd "$srcdir/mainline"
patch -p1 < ../goobook.patch || return 1
python2 setup.py install --root="${pkgdir}" --optimize=1 || return 1
}
 
# vim:set ts=2 sw=2 et:

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.