mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
20 lines
621 B
Bash
20 lines
621 B
Bash
# $Id: PKGBUILD 29760 2009-03-12 10:07:44Z douglas $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=python-geoip
|
|
pkgver=1.2.4
|
|
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=('python>=2.5' '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}
|
|
python setup.py build install --root=${startdir}/pkg
|
|
}
|
|
md5sums=('50f820d854476efaf3b7af733ffe4236')
|