diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-23 18:56:33 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-23 18:56:33 -0300 |
commit | 54360e88db6fd8b650ccd147cecbff0e1fac22fa (patch) | |
tree | 91a552a156abaf378c2863763d570b46acef9b14 /pcr | |
parent | f73a4c63de6e8d53ef552ae5fb5a7a5b379634d2 (diff) | |
parent | 801c0703dbe4fdfa6bc3daafd95dffdb82bfa7b4 (diff) | |
download | abslibre-54360e88db6fd8b650ccd147cecbff0e1fac22fa.tar.gz abslibre-54360e88db6fd8b650ccd147cecbff0e1fac22fa.tar.bz2 abslibre-54360e88db6fd8b650ccd147cecbff0e1fac22fa.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/sqlcipher/PKGBUILD | 31 |
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" +} |