summaryrefslogtreecommitdiff
path: root/~xihh/python2-apsw/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '~xihh/python2-apsw/PKGBUILD')
-rw-r--r--~xihh/python2-apsw/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/~xihh/python2-apsw/PKGBUILD b/~xihh/python2-apsw/PKGBUILD
new file mode 100644
index 000000000..92ce6d309
--- /dev/null
+++ b/~xihh/python2-apsw/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Linmiao Xu <linmiao.xu@gmail.com>
+# Contributor: Juan Miguel Cejuela <jmcejuela@ashrentum.net>
+
+pkgname=python2-apsw
+pkgver=3.7.9_r1
+pkgrel=1
+pkgdesc="Python wrapper for SQLite"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://code.google.com/p/apsw/"
+license=('MIT')
+depends=('python2' 'sqlite3')
+source=("http://apsw.googlecode.com/files/apsw-${pkgver//_/-}.zip" 'LICENSE')
+
+md5sums=('8188a05819553a7a9aad568db23850af'
+ 'efc704d50cb39441d00f9dc76cbe6665')
+
+build() {
+ cd $srcdir/apsw-${pkgver//_/-}
+ python2 setup.py install --root=$pkgdir/
+
+ install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+