summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRiccardo Berto2017-12-16 16:58:47 +0100
committerRiccardo Berto2017-12-16 16:58:47 +0100
commitccf79d533eb093b86c98298902d45deb2510a371 (patch)
tree9bbeb6a4459069673575f100fb854b5bd0f509af
downloadaur-ccf79d533eb093b86c98298902d45deb2510a371.tar.gz
First commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..19e16143ab5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python-pysqlcipher3
+ pkgdesc = DB-API 2.0 interface for SQLCIPHER 3.x
+ pkgver = 1.0.2
+ pkgrel = 1
+ url = https://github.com/rigglemania/pysqlcipher3
+ arch = any
+ license = ZLIB
+ makedepends = python-setuptools
+ depends = python
+ source = https://files.pythonhosted.org/packages/source/p/pysqlcipher3/pysqlcipher3-1.0.2.tar.gz
+ md5sums = 387aa1f10ff84b72d879c111c6fce3d7
+
+pkgname = python-pysqlcipher3
+ depends = python
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..056daf2a102
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+pkgbase=('python-pysqlcipher3')
+pkgname=('python-pysqlcipher3')
+_module='pysqlcipher3'
+pkgver='1.0.2'
+pkgrel=1
+pkgdesc="DB-API 2.0 interface for SQLCIPHER 3.x"
+url="https://github.com/rigglemania/pysqlcipher3"
+depends=('python')
+makedepends=('python-setuptools')
+license=('ZLIB')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/p/pysqlcipher3/pysqlcipher3-${pkgver}.tar.gz")
+md5sums=('387aa1f10ff84b72d879c111c6fce3d7')
+
+build() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ depends+=()
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}