diff options
author | William Pitcock <nenolod@dereferenced.org> | 2017-01-23 17:51:34 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-01-23 17:51:34 -0600 |
commit | 5cc7e204a20c3c2923b320af0b3f3a134ed83da4 (patch) | |
tree | 38d1098ed581dd4258a88a548d75d84df8db3d0d /main/kyua | |
parent | 85b6954b40dd452de717803f4e7490a0b6f1c429 (diff) | |
download | aports-5cc7e204a20c3c2923b320af0b3f3a134ed83da4.tar.bz2 aports-5cc7e204a20c3c2923b320af0b3f3a134ed83da4.tar.xz |
main/kyua: new package (test runner for pkgconf)
Diffstat (limited to 'main/kyua')
-rw-r--r-- | main/kyua/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/main/kyua/APKBUILD b/main/kyua/APKBUILD new file mode 100644 index 0000000000..7bd4987512 --- /dev/null +++ b/main/kyua/APKBUILD @@ -0,0 +1,36 @@ +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=kyua +pkgver=0.13 +pkgrel=0 +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="" +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 \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="475203c0877ebe739edf8b8dff4606ec kyua-0.13.tar.gz" +sha256sums="db6e5d341d5cf7e49e50aa361243e19087a00ba33742b0855d2685c0b8e721d6 kyua-0.13.tar.gz" +sha512sums="80ecf4fd888d4759122f3c1d1d5b06a19135e06f7bca1ef8458c7a5e78c1b6baff54969c863c93f11c40611ca256fc0334402531397b16788fb3ec701dd278ae kyua-0.13.tar.gz" |