updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / python-pygooglevoice / PKGBUILD
blobd60197f0536eb4ed1c3a091f8614f4c9e4fa3933
1 # Contributor: JWC <bulk aaa aaatt tttt jwcxz dddd 0ttt c0m>
3 _pypkg=pygooglevoice
4 pkgname=python-$_pypkg
5 pkgver=0.5
6 pkgrel=1
7 pkgdesc="A Python API to interact with Google Voice"
8 arch=(any)
9 url="http://code.google.com/p/pygooglevoice/"
10 license=('BSD')
11 depends=('python')
12 options=(!emptydirs)
13 source=(http://pygooglevoice.googlecode.com/files/$_pypkg-$pkgver.tar.gz
14         http://pygooglevoice.googlecode.com/hg/LICENSE.txt)
15 md5sums=('3649e45b7615f5970be79db401205be6'
16          'e82930030064ce9006c2dcc4b0c8ad46')
17 install=
19 build() {
20     cd $srcdir/$_pypkg-$pkgver
21     python setup.py install --root=$pkgdir/ --optimize=1 || return 1
23     install -D -m644 $srcdir/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
26