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

22 lines
707 B
Bash

# Maintainer: Douglas Soares de Andrade <dsandrade@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=python-bsddb
pkgver=4.8.0
pkgrel=1
pkgdesc="Python interface for BerkeleyDB"
license=('MIT')
arch=('i686' 'x86_64')
url="http://www.jcea.es/programacion/pybsddb.htm"
depends=('db>=4.8.24' 'python')
source=(http://pypi.python.org/packages/source/b/bsddb3/bsddb3-$pkgver.tar.gz LICENSE)
build () {
cd $startdir/src/bsddb3-$pkgver
python setup.py build
python setup.py install --root=$startdir/pkg
install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
md5sums=('2540cf7efd74d3d58b7b92d503645f30'
'f412b3fb37739f1c4be64c1e7a5dee67')