blob: ef62e81c9923f591f9e7df26d68111afb4efb5ce (
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 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
}
|