mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 06:47:15 +08:00
27 lines
765 B
Bash
27 lines
765 B
Bash
pkgname=sqlcipher
|
|
pkgver=3.3.1
|
|
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)
|
|
sha256sums=('ce5167b2e4d7eb1514fd5a8dfc115a11c4b85f5fd88be2a9fd35ffbb684365bf')
|
|
|
|
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
|
|
}
|