summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/python2-sql/PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/python2-sql/PKGBUILD b/pcr/python2-sql/PKGBUILD
new file mode 100644
index 000000000..beaa58d19
--- /dev/null
+++ b/pcr/python2-sql/PKGBUILD
@@ -0,0 +1,20 @@
+pkgname=python2-sql
+pkgver=r82.fa73dd3e45dd
+pkgrel=1
+pkgdesc="Python 2 SQL library"
+arch=('any')
+url="https://code.google.com/p/python-sql/"
+license=('GPL3')
+depends=('python2')
+optdepends=()
+makedepends=('python2' 'mercurial')
+md5sums=('SKIP')
+source=('hg+https://code.google.com/p/python-sql/')
+pkgver() {
+ cd $srcdir/python-sql
+ printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
+}
+package() {
+ cd $srcdir/python-sql
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}