aports/community/hey/APKBUILD
2025-05-11 17:42:12 +02:00

29 lines
777 B
Text

# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=hey
pkgver=0.1.4
pkgrel=31
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 GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -v
}
check() {
go test ./...
}
package() {
install -Dm755 "$builddir"/$pkgname "$pkgdir"/usr/bin/$pkgname
}
sha512sums="f71ad13c401e9c9c45e1176924de49eb33df9b180dc10907997d1e500a4e5c6e28dd0293cef5d3fe8fabf0bfbade353938327bf3fce894c271209ec86e265ead hey-0.1.4.tar.gz"