blob: 3e63f86ea01b0a2a4b797bf8d2f0d3a800de46b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#Special regards to fauno
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=sqlcipher
pkgver=3.2.0
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"
}
|