db-move: moved linux-zen from [testing] to [extra] (x86_64)
[arch-packages.git] / python-geoip / trunk / PKGBUILD
blob53abd9c91ef48419e6134318530e3f516ad98e9d
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Angel Velasquez <angvp@archlinux.org>
4 pkgname=python-geoip
5 pkgver=1.3.2
6 pkgrel=14
7 pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
8 arch=('x86_64')
9 url="https://pypi.python.org/pypi/GeoIP/"
10 license=('LGPL')
11 depends=('python' 'geoip')
12 makedepends=('python' 'geoip')
13 source=(https://pypi.python.org/packages/source/G/GeoIP/GeoIP-${pkgver}.tar.gz)
14 sha256sums=('a890da6a21574050692198f14b07aa4268a01371278dfc24f71cd9bc87ebf0e6')
16 build() {
17   cd "GeoIP-$pkgver"
18   python setup.py build
21 package_python-geoip() {
22   cd "GeoIP-$pkgver"
23   python setup.py install --root="$pkgdir" -O1
26 # vim:set ts=2 sw=2 et: