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

pkgbase=python-geoip
pkgname=('python2-geoip')
pkgver=1.2.7
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)
md5sums=('df71f5ae7a5c77bbdf726d512b7d67cf')

package_python2-geoip() {
  cd "${srcdir}/GeoIP-Python-${pkgver}"
  python2 setup.py build install --root="${pkgdir}"
}