desktop/sqlcipher/PKGBUILD

27 lines
765 B
Bash
Raw Normal View History

pkgname=sqlcipher
2017-01-14 21:33:15 +08:00
pkgver=3.4.0
pkgrel=1
pkgdesc="SQLite extension that provides transparent 256-bit AES encryption of database files"
arch=('x86_64')
url="https://www.zetetic.net/sqlcipher/"
license=('BSD')
makedepends=('openssl' 'sqlite3' 'tcl')
source=($pkgname-$pkgver.tar.gz::https://github.com/sqlcipher/${pkgname}/archive/v${pkgver}.tar.gz)
2017-01-14 21:33:15 +08:00
sha256sums=('99b702ecf796de02bf7b7b35de4ceef145f0d62b4467a86707c2d59beea243d0')
build() {
cd "${srcdir}"/$pkgname-$pkgver
./configure --prefix=/usr --enable-tempstore=yes \
CFLAGS="$CFLAGS -DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
make
}
package() {
cd "${srcdir}"/$pkgname-$pkgver
make DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
}