blob: 47c0f8606a31b26a7b67b9a81a32b68ad418cb89 (
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
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Maks Verver <maks@verver.ch>
pkgname=sqlfuse-git
pkgver=r190.4019c99
pkgrel=1
pkgdesc="Encrypted user-space filesystem using SQLite3+SQLCipher+FUSE"
arch=('i686' 'x86_64')
url="https://github.com/maksverver/sqlfuse"
license=('unknown')
groups=()
depends=('fuse' 'sqlcipher')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=('git+https://github.com/maksverver/sqlfuse.git')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
# Git, tags available
#printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
# Git, no tags available
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
make
}
check() {
cd "$srcdir/${pkgname%-git}"
make test
}
package() {
cd "$srcdir/${pkgname%-git}"
install -D -t "${pkgdir}/usr/bin" sqlfuse
}
|