blob: a9af35a320277f95e88c97c36c4f35cb251c2295 (
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: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=nlnetlabs-krill-git
pkgver=0.14.4.r31.g3253d3c4
pkgrel=1
pkgdesc="RPKI certificate authority and publication server"
arch=('i686' 'x86_64')
url="https://nlnetlabs.nl/projects/rpki/about/"
license=('MPL-2.0')
depends=('gcc-libs' 'openssl')
makedepends=('git' 'cargo')
provides=("nlnetlabs-krill=$pkgver")
conflicts=('nlnetlabs-krill')
source=("git+https://github.com/NLnetLabs/krill.git")
sha256sums=('SKIP')
prepare() {
cd "krill"
if [ ! -f "Cargo.lock" ]; then
cargo update
fi
cargo fetch
}
pkgver() {
cd "krill"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
check() {
cd "krill"
#cargo test \
# --frozen
}
package() {
cd "krill"
cargo install \
--locked \
--no-track \
--root "$pkgdir/usr" \
--path .
}
|