summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-09-23 15:41:03 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-09-23 15:41:03 -0300
commit771e586e2841296dd0489c224ea093d09d18c7c8 (patch)
tree68236b9e5b5848876cc48efad6ff7ed832d1697f
parent0f2365941f7fabcae71f5beaf964b0b9cfa2a422 (diff)
downloadabslibre-771e586e2841296dd0489c224ea093d09d18c7c8.tar.gz
abslibre-771e586e2841296dd0489c224ea093d09d18c7c8.tar.bz2
abslibre-771e586e2841296dd0489c224ea093d09d18c7c8.zip
SQLCipher
-rw-r--r--pcr/sqlcipher/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/sqlcipher/PKGBUILD b/pcr/sqlcipher/PKGBUILD
new file mode 100644
index 000000000..45a3efbe9
--- /dev/null
+++ b/pcr/sqlcipher/PKGBUILD
@@ -0,0 +1,31 @@
+pkgname=sqlcipher
+pkgver=2.2.1
+pkgrel=1
+pkgdesc="SQLite extension that provides transparent 256-bit AES encryption of database files"
+arch=('i686' 'x86_64')
+url="http://sqlcipher.net/"
+license=('BSD')
+makedepends=('tcl' 'openssl' 'sqlite3' 'git')
+source=($pkgname-$pkgver::git+https://github.com/sqlcipher/sqlcipher#tag=v${pkgver})
+sha1sums=('SKIP')
+sha256sums=('SKIP')
+
+pkgver() {
+ echo $pkgver
+}
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --disable-tcl \
+ --enable-tempstore=yes \
+ CFLAGS="$CFLAGS -DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make DESTDIR="$pkgdir/" install
+ install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}