summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1e05674a33ebe0dd019e31f2700999f7d8fe051b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Wang Jiajun <amesists ATgmail 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' 'python2-httplib2' 'python2-oauth2client>1.4.11')
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
}