[arch-commits] Commit in pypgsql/trunk (PKGBUILD)
Ronald van Haren
ronald at archlinux.org
Wed Sep 10 18:05:44 UTC 2008
Date: Wednesday, September 10, 2008 @ 14:05:26
Author: ronald
Revision: 12128
fix license
Modified:
pypgsql/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-09-10 17:55:46 UTC (rev 12127)
+++ PKGBUILD 2008-09-10 18:05:26 UTC (rev 12128)
@@ -5,13 +5,19 @@
pkgrel=4
pkgdesc="A python client library for postgresql"
arch=(i686 x86_64)
-license=('CNRI')
+license=('custom')
url="http://pypgsql.sourceforge.net/"
-depends=('python-egenix-mx-base>=2.0.6-3' 'postgresql-libs>=8.2.3')
-source=(http://heanet.dl.sourceforge.net/sourceforge/${pkgname}/pyPgSQL-${pkgver}.tar.gz)
-md5sums=('82670f6f1652aa4766fdaec2cb43debd')
+#depends=('python-egenix-mx-base>=2.0.6-3' 'postgresql-libs>=8.2.3')
+source=(http://downloads.sourceforge.net/${pkgname}/pyPgSQL-${pkgver}.tar.gz
+ 'COPYING')
+md5sums=('82670f6f1652aa4766fdaec2cb43debd'
+ '3d01558c4f8439cdbd94eaf00c2c42ec')
build() {
cd ${startdir}/src/pyPgSQL-${pkgver} || return 1
python setup.py install --root=${startdir}/pkg || return 1
+
+# install custom license
+install -Dm644 $srcdir/COPYING \
+ $pkgdir/usr/share/licenses/$pkgname/COPYING
}
More information about the arch-commits
mailing list