mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
27 lines
765 B
Bash
27 lines
765 B
Bash
pkgname=sqlcipher
|
|
pkgver=3.4.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=('4172cc6e5a79d36e178d36bd5cc467a938e08368952659bcd95eccbaf0fa4ad4')
|
|
|
|
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
|
|
}
|