aboutsummaryrefslogtreecommitdiffstats
path: root/main/kyua/APKBUILD
blob: a1e2ea6d026d30db8952dd53b0a720f4308a439a (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
# Maintainer: 
pkgname=kyua
pkgver=0.13
pkgrel=3
pkgdesc="testing framework for infrastructure software"
url="https://github.com/jmmv/kyua"
arch="all"
license="BSD"
depends=""
makedepends="atf-dev lutok-dev sqlite-dev"
install=""
options="!checkroot"
subpackages="$pkgname-doc"
source="https://github.com/jmmv/kyua/releases/download/kyua-$pkgver/kyua-$pkgver.tar.gz"
builddir="$srcdir/kyua-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="80ecf4fd888d4759122f3c1d1d5b06a19135e06f7bca1ef8458c7a5e78c1b6baff54969c863c93f11c40611ca256fc0334402531397b16788fb3ec701dd278ae  kyua-0.13.tar.gz"