Skip to content

Instantly share code, notes, and snippets.

Created April 7, 2013 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5329733 to your computer and use it in GitHub Desktop.
Save anonymous/5329733 to your computer and use it in GitHub Desktop.
# 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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment