updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pygeoip / PKGBUILD
bloba6ad8e76d42872cf44db33cb21066b4f19a2a9d4
1 # Contributor: Marco Elver <marco.elver AT gmail.com>
3 pkgname=pygeoip
4 pkgver=0.2.1
5 pkgrel=1
6 pkgdesc="Pure Python GeoIP API"
7 arch=('any')
8 url='http://pypi.python.org/pypi/pygeoip'
9 license=('LGPL')
10 depends=('python2')
11 makedepends=('setuptools')
12 #source=("http://pypi.python.org/packages/source/d/${pkgname}/${pkgname}-$pkgver.zip")
13 source=("http://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz")
14 options=(!emptydirs)
16 build() {
17   cd ${srcdir}/$pkgname-$pkgver
18   python setup.py install --root=${pkgdir} --optimize=1 || return 1
21 md5sums=('8c28bc9657ab992f291e095fb006f560')