blob: 374b2d6aac97170eb1594307e5c5972ae79166e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $Id: PKGBUILD 151045 2012-02-24 14:28:44Z pierre $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=pypgsql
pkgver=2.5.1
pkgrel=8
pkgdesc="A python client library for postgresql"
arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://pypgsql.sourceforge.net/"
depends=('python-egenix-mx-base' 'postgresql-libs')
source=("http://downloads.sourceforge.net/${pkgname}/pyPgSQL-${pkgver}.tar.gz"
'COPYING')
md5sums=('82670f6f1652aa4766fdaec2cb43debd'
'235c239b51a8b8e6b53c414ef71d7612')
package() {
cd ${srcdir}/pyPgSQL-${pkgver}
python2 setup.py install --root=${pkgdir}
# install custom license
install -Dm644 $srcdir/COPYING \
$pkgdir/usr/share/licenses/$pkgname/COPYING
}
|