diff options
Diffstat (limited to 'extra/pypgsql/PKGBUILD')
-rw-r--r-- | extra/pypgsql/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/pypgsql/PKGBUILD b/extra/pypgsql/PKGBUILD new file mode 100644 index 000000000..ef62e81c9 --- /dev/null +++ b/extra/pypgsql/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 89618 2010-09-02 16:23:36Z remy $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +pkgname=pypgsql +pkgver=2.5.1 +pkgrel=7 +pkgdesc="A python client library for postgresql" +arch=(i686 x86_64) +license=('custom') +url="http://pypgsql.sourceforge.net/" +depends=('python-egenix-mx-base>=2.0.6-3' 'postgresql-libs>=8.4') +source=(http://downloads.sourceforge.net/${pkgname}/pyPgSQL-${pkgver}.tar.gz + 'COPYING') +md5sums=('82670f6f1652aa4766fdaec2cb43debd' + '235c239b51a8b8e6b53c414ef71d7612') + +build() { + cd ${srcdir}/pyPgSQL-${pkgver} || return 1 + python2 setup.py install --root=${pkgdir} || return 1 + + # install custom license + install -Dm644 $srcdir/COPYING \ + $pkgdir/usr/share/licenses/$pkgname/COPYING +} |