From edb4c972d5d23fcff220b7d3c33d3202bcb16af3 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 Sep 2013 02:21:59 -0700 Subject: Tue Sep 24 02:19:00 PDT 2013 --- pcr/sqlcipher/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pcr/sqlcipher/PKGBUILD (limited to 'pcr') 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" +} -- cgit v1.2.3-54-g00ecf