blob: 61ebeecc418aa2ee23cf621b3382343d8fb7085b (
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
|
# Maintainer: Lukas Werling <lukas@lwrl.de>
pkgname=riker-git
pkgver=r2201.6b2c276d
pkgrel=1
pkgdesc="Always-Correct and Fast Incremental Builds from Simple Specifications"
arch=('x86_64')
url="https://github.com/curtsinger-lab/riker"
license=('BSD')
depends=('graphviz')
makedepends=('clang' 'llvm')
checkdepends=('python-cram')
source=("$pkgname::git+https://github.com/curtsinger-lab/riker")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$pkgname"
git submodule init
git submodule update
# `uname -p` returns "unknown" on Arch Linux
sed -i 's/uname -p/uname -m/' Makefile
}
build() {
cd "$pkgname"
make
}
check() {
cd "$pkgname"
# Tests currently fail on Arch Linux, see https://github.com/curtsinger-lab/riker/pull/40
#make test
}
package() {
cd "$pkgname"
make PREFIX="$pkgdir/usr/" install
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|