From 99d0ec7ebad2eda5f3a03098962e3b250e3bef4c Mon Sep 17 00:00:00 2001 From: root Date: Tue, 16 Oct 2012 00:33:10 -0700 Subject: Tue Oct 16 00:33:08 PDT 2012 --- community/python2-pysqlite-legacy/PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 community/python2-pysqlite-legacy/PKGBUILD (limited to 'community/python2-pysqlite-legacy') diff --git a/community/python2-pysqlite-legacy/PKGBUILD b/community/python2-pysqlite-legacy/PKGBUILD new file mode 100644 index 000000000..6fdb5bb66 --- /dev/null +++ b/community/python2-pysqlite-legacy/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 77909 2012-10-15 19:54:27Z rvanharen $ +# Maintainer: Ronald van Haren +# Contributor : Aaron Griffin + +pkgname=python2-pysqlite-legacy +pkgver=1.0.1 +pkgrel=1 +pkgdesc="A Python DB-API 2.0 interface for the legacy SQLite 2" +arch=('i686' 'x86_64') +url="http://initd.org/tracker/pysqlite" +replaces=('python-pysqlite-legacy') +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 +} -- cgit v1.2.3-54-g00ecf