PKGBUILDs/community/python-bsddb/PKGBUILD

23 lines
707 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# 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')