blob: 3ebff2189977bcb6948d9db13b906e8090505028 (
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
|
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=hey
pkgver=0.1.4
pkgrel=0
pkgdesc="HTTP load generator"
url="https://github.com/rakyll/hey"
arch="all"
license="Apache-2.0"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/rakyll/hey/archive/v$pkgver.tar.gz"
export GOPATH="$srcdir"
export CGO_ENABLED=0
build() {
go build -v
}
check() {
go test ./...
}
package() {
install -Dm755 "$builddir"/$pkgname "$pkgdir"/usr/bin/$pkgname
}
cleanup_srcdir() {
go clean -modcache
default_cleanup_srcdir
}
sha512sums="f71ad13c401e9c9c45e1176924de49eb33df9b180dc10907997d1e500a4e5c6e28dd0293cef5d3fe8fabf0bfbade353938327bf3fce894c271209ec86e265ead hey-0.1.4.tar.gz"
|