summaryrefslogtreecommitdiff
path: root/extra/python-geoip/PKGBUILD
blob: 764eee3e3afc949dbd8736ef18d172fd5c423a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $Id: PKGBUILD 89623 2010-09-02 16:32:29Z remy $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=python-geoip
pkgver=1.2.4
pkgrel=2
pkgdesc="Python bindings for the GeoIP IP-to-country resolver library."
arch=(i686 x86_64 'mips64el')
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')

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