diff options
author | Laurens Hazewinkel | 2018-05-17 18:35:38 +0200 |
---|---|---|
committer | Laurens Hazewinkel | 2018-05-17 18:35:38 +0200 |
commit | 5cab7eaefa0fcb189ab004f124c19f0653ce7da1 (patch) | |
tree | 881609d3f9b00950f1bde05ff42d3cdc3e6e8204 | |
download | aur-5cab7eaefa0fcb189ab004f124c19f0653ce7da1.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..aecc11b58ecf --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = stressapptest-git + pkgdesc = Stressful Application Test (or stressapptest, its unix name) + pkgver = 1.0.8.r10.gdd550fc + pkgrel = 1 + url = https://github.com/stressapptest/stressapptest + arch = i686 + arch = x86_64 + license = APACHE + makedepends = git + depends = gcc-libs + depends = libaio + provides = stressapptest + conflicts = stressapptest + source = git+https://github.com/stressapptest/stressapptest + md5sums = SKIP + +pkgname = stressapptest-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0138b0a9fb5b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Laurens Hazewinkel <laurens dot hazewinkel at gmail dot com> + +pkgname=stressapptest-git +pkgver=1.0.8.r10.gdd550fc +pkgrel=1 +pkgdesc="Stressful Application Test (or stressapptest, its unix name)" +arch=('i686' 'x86_64') +url="https://github.com/stressapptest/stressapptest" +license=('APACHE') +depends=('gcc-libs' 'libaio') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=("git+https://github.com/${pkgname%-git}/${pkgname%-git}") +md5sums=('SKIP') + +pkgver() { + cd "${pkgname%-git}" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "${pkgname%-git}" + ./configure --prefix=/usr + make +} + +package() { + cd "${pkgname%-git}" + make DESTDIR="${pkgdir}" install +} |