summaryrefslogtreecommitdiff
path: root/extra/python-geoip/PKGBUILD
blob: 2a5fe156ec7561532f81f756aee521d5b8d4d21f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 140200 2011-10-09 08:54:48Z angvp $
# Maintainer: Angel Velasquez <angvp@archlinux.org>  
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=python-geoip
pkgver=1.2.7
pkgrel=1
pkgdesc="Python bindings for the GeoIP IP-to-country resolver library."
arch=(i686 x86_64)
url="http://www.maxmind.com/app/python"
license=('LGPL')
depends=('python2' 'geoip')
source=(http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-${pkgver}.tar.gz)
replaces=('geoip-python')
provides=('geoip-python')
md5sums=('df71f5ae7a5c77bbdf726d512b7d67cf')

build() {
  cd ${startdir}/src/GeoIP-Python-${pkgver}
  python2 setup.py build install --root=${startdir}/pkg
}