From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/python-pysqlite/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 extra/python-pysqlite/PKGBUILD (limited to 'extra/python-pysqlite/PKGBUILD') diff --git a/extra/python-pysqlite/PKGBUILD b/extra/python-pysqlite/PKGBUILD new file mode 100644 index 000000000..54265b30d --- /dev/null +++ b/extra/python-pysqlite/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 89652 2010-09-02 20:47:02Z remy $ +# Contributor: Aaron Griffin +# Contributor: Aaron Griffin +# Maintainer: Daniel J Griffiths + +pkgname=python-pysqlite +pkgver=2.6.0 +pkgrel=2 +pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine" +license=('custom') +arch=('i686' 'x86_64') +url="http://code.google.com/p/pysqlite/" +depends=('python2' 'sqlite3') +replaces=('pysqlite2') +source=(http://pysqlite.googlecode.com/files/pysqlite-${pkgver}.tar.gz \ + setup.cfg) +md5sums=('fc92618b3b39d02e6ff10dc467c36640' + '86dd356c65afd14a22f2f8f64a26441e') +build() { + cd ${srcdir}/pysqlite-${pkgver} + cp ${srcdir}/setup.cfg . + python2 setup.py install --root=${pkgdir} +} + +package() { + cd ${srcdir}/pysqlite-${pkgver} + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -r ${pkgdir}/usr/pysqlite2-doc +} -- cgit v1.2.3-54-g00ecf