blob: 7847d72b4747c6497b67c379293184c5f513c35a (
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
40
41
42
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
}
|