PKGBUILDs/community/python-configobj/PKGBUILD
2009-10-09 21:15:33 -05:00

21 lines
827 B
Bash

# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: Manuel "ekerazha" C. (www.ekerazha.com)
pkgname=python-configobj
pkgver=4.6.0
pkgrel=2
pkgdesc="A simple but powerful config file reader and writer for Python."
arch=('i686' 'x86_64')
url="http://www.voidspace.org.uk/python/configobj.html"
license=('custom:voidspace')
depends=('python')
source=("http://www.voidspace.org.uk/downloads/configobj-$pkgver.zip" \
voidspace-license.txt)
md5sums=('286907e06061e272137f48e5f611a526' '2068c55a3541ec936aa96c51947e0810')
build() {
cd $srcdir/configobj-$pkgver
python setup.py install --root=$pkgdir || return 1
install -Dm644 $srcdir/voidspace-license.txt \
$pkgdir/usr/share/licenses/$pkgname/voidspace-license.txt || return 1
}