aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: f605e44520785e5a89cf127d7ff373113293bb39 (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
25
26
27
28
29
30
31
32
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
}