blob: 9069eef2677abec791997839163943b2536c99de (
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
35
36
37
38
39
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=httperf-git
pkgver=r204.gde8cd6a
pkgrel=2
pkgdesc="The HTTP load generator"
arch=('i686' 'x86_64')
url="https://github.com/httperf/httperf"
license=('GPL-2.0-or-later')
depends=('openssl')
makedepends=('git')
provides=("httperf=$pkgver")
conflicts=('httperf')
source=("git+https://github.com/httperf/httperf.git")
sha256sums=('SKIP')
pkgver() {
cd "httperf"
_rev=$(git rev-list --count --all)
_hash=$(git rev-parse --short HEAD)
printf "r%s.g%s" "$_rev" "$_hash"
}
build() {
cd "httperf"
autoreconf -fi
./configure \
--prefix="/usr"
make
}
package() {
cd "httperf"
make DESTDIR="$pkgdir" install
}
|