blob: cd18227325afdc8165e2b4250550650dc88c412e (
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
46
47
48
|
# Maintainer: Kai Michaelis <kai@sequoia-pgp.org>
pkgname=sequoia-git
pkgver=r1176.bc95696
pkgrel=1
pkgdesc="A cool OpenPGP library"
arch=('x86_64' 'i686')
url="https://sequoia-pgp.org/"
license=('GPL3')
groups=()
depends=(
'nettle>=3'
'sqlite>=3'
'capnproto'
'openssl>=1.1')
makedepends=(
'clang'
'rust'
'cargo'
'git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=($pkgname::git+https://gitlab.com/sequoia-pgp/sequoia.git)
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-VCS}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-VCS}"
make PREFIX="/usr" all
}
check() {
cd "$srcdir/${pkgname%-VCS}"
cargo test --all
}
package() {
cd "$srcdir/${pkgname%-VCS}"
make DESTDIR="$pkgdir" PREFIX="/usr" install
}
|