updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pygresql / PKGBUILD
blobff276ecd3cf5a143c1eb8aa8fb134d8bd56020e9
1 # Maintainer: Jacob Courtneay <jacob@sporkexec.com>
2 # Contributor: Bernhard Walle <bernhard.walle@gmx.de>
3 # AUR Category: lib
4 pkgname=pygresql
5 _pkgname=PyGreSQL
6 pkgver=4.0
7 pkgrel=2
8 pkgdesc="Python access for PostgreSQL"
9 url="http://www.pygresql.org/"
10 license="BSD"
11 depends=(python2 postgresql postgresql-libs)
12 arch=(i686 x86_64)
13 source=(http://pypi.python.org/packages/source/P/$_pkgname/$_pkgname-$pkgver.tar.gz)
14 md5sums=('1aca50e59ff4cc56abe9452a9a49c5ff')
16 build() {
17   cd $srcdir/$_pkgname-$pkgver
18   python2 setup.py build || return 1
19   python2 setup.py install --prefix=/usr --root=$pkgdir || return 1