diff options
author | Nicola Murino | 2015-06-08 23:23:10 +0200 |
---|---|---|
committer | Nicola Murino | 2015-06-08 23:23:10 +0200 |
commit | d887f963fd4259d112e85945fbecb2b19c4c56ff (patch) | |
tree | 658ef47c77945ce1e4aab54c00e942f952dfccb3 | |
download | aur-d887f963fd4259d112e85945fbecb2b19c4c56ff.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..719dcfd40822 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = wrk + pkgdesc = Modern HTTP benchmarking tool + pkgver = 4.0.1 + pkgrel = 1 + url = https://github.com/wg/wrk + arch = i686 + arch = x86_64 + license = Apache + options = !makeflags + options = !buildflags + source = https://github.com/wg/wrk/archive/4.0.1.tar.gz + md5sums = 2520c55f197b5bb38b96ef2495b9af11 + +pkgname = wrk + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..928fb9ef6eaa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: drakkan <nicola.murino@gmail.com> +# Contributor: Pierre Carrier <pierre@gcarrier.fr> +pkgname=wrk +pkgver=4.0.1 +pkgrel=1 +pkgdesc="Modern HTTP benchmarking tool" +arch=(i686 x86_64) +url=https://github.com/wg/wrk +license=(Apache) +depends=() +makedepends=() +source=(https://github.com/wg/$pkgname/archive/$pkgver.tar.gz) +md5sums=(2520c55f197b5bb38b96ef2495b9af11) +options=('!makeflags' + '!buildflags') + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + install -Dm755 wrk "$pkgdir/usr/bin/wrk" + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/wrk/LICENSE + install -Dm644 NOTICE "$pkgdir"/usr/share/licenses/wrk/NOTICE + install -d -m755 "$pkgdir"/usr/share/doc/wrk/examples/ + install -Dm644 README "$pkgdir"/usr/share/doc/wrk/README + install -Dm644 SCRIPTING "$pkgdir"/usr/share/doc/wrk/SCRIPTING + install -Dm644 CHANGES "$pkgdir"/usr/share/doc/wrk/CHANGES + install -Dm644 scripts/*.lua "$pkgdir"/usr/share/doc/wrk/examples/ +} + +# vim:set ts=2 sw=2 et: + |