summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7847d72b474
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=httperf-git
+pkgver=cc88843
+pkgrel=1
+epoch=1
+pkgdesc="The HTTP load generator"
+arch=('i686' 'x86_64')
+url="https://github.com/httperf/httperf"
+license=('GPL')
+#depends=('libchewing' 'qt5-base' 'hicolor-icon-theme')
+makedepends=('git')
+provides=('httperf')
+conflicts=('httperf')
+source=("git+https://github.com/httperf/httperf.git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "httperf"
+
+ git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd "httperf"
+
+ autoreconf -i
+ mkdir -p "build"
+}
+
+build() {
+ cd "httperf/build"
+
+ ../configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "httperf/build"
+
+ make DESTDIR="$pkgdir" install
+}