summaryrefslogtreecommitdiff
path: root/community/python-pysqlite-legacy
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/python-pysqlite-legacy
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/python-pysqlite-legacy')
-rw-r--r--community/python-pysqlite-legacy/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/python-pysqlite-legacy/PKGBUILD b/community/python-pysqlite-legacy/PKGBUILD
new file mode 100644
index 000000000..c87ce7793
--- /dev/null
+++ b/community/python-pysqlite-legacy/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 26298 2010-09-14 17:18:19Z schuay $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor : Aaron Griffin <aaron.archlinux.org>
+
+pkgname=python-pysqlite-legacy
+pkgver=1.0.1
+pkgrel=7
+pkgdesc="A Python DB-API 2.0 interface for the legacy SQLite 2"
+arch=('i686' 'x86_64')
+url="http://initd.org/tracker/pysqlite"
+license=('custom')
+depends=('python2' 'sqlite2')
+source=(http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/pysqlite-$pkgver.tar.gz)
+md5sums=('4797b5ea7a3d96b87333e6b5af7b9979')
+
+build()
+{
+ cd ${srcdir}/pysqlite
+ python2 setup.py install --root=${pkgdir} -O1
+
+ # install custom license
+ install -Dm644 ${srcdir}/pysqlite/LICENSE \
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}