diff options
author | Wang Jiajun | 2015-07-30 16:32:16 +0000 |
---|---|---|
committer | Wang Jiajun | 2015-07-30 16:32:16 +0000 |
commit | da1ca48d7af86288c04528280056c3d0dffa71ba (patch) | |
tree | 5efed8f80ac629003867ca8932e3b024217f4984 /PKGBUILD | |
download | aur-da1ca48d7af86288c04528280056c3d0dffa71ba.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..34c637c2ffe2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Wang Jiajun <amesists AT gmail DOT com> +pkgname=python2-goobook +_pkgname=goobook +pkgver=1.9 +pkgrel=1 +pkgdesc="Search your google contacts from the command-line or mutt." +url="https://gitlab.com/goobook/goobook" +arch=('any') +license=('GPLv3') +depends=('python2' 'python2-gdata' 'python2-simplejson' 'python2-keyring') +makedepends=('python2-setuptools') +source=("https://pypi.python.org/packages/source/g/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") +md5sums=('41f2246336ea713591e7d912d9d05193') + +build() { + cd "${srcdir}"/${_pkgname}-${pkgver} + sed -ie '58s/distribute/setuptools/' setup.py || return 1 + python2 setup.py build || return 1 +} + +package() { + cd "${srcdir}"/${_pkgname}-${pkgver} + python2 setup.py install --root=$pkgdir || return 1 +} |