aports/testing/kapow/APKBUILD
2025-04-11 19:40:50 +02:00

33 lines
888 B
Text

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kapow
pkgver=0.7.1
pkgrel=12
pkgdesc="turn shell commands into HTTP API"
url="https://kapow.readthedocs.io/en/stable/"
license="Apache-2.0"
arch="all"
makedepends="go"
source="https://github.com/BBVA/kapow/archive/v$pkgver/kapow-$pkgver.tar.gz
fix-cgo.patch
"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
make build
}
#check() {
# make test
#}
package() {
install -Dm755 build/kapow "$pkgdir"/usr/bin/kapow
}
sha512sums="
823a184bc988fde3e5680728438b5c2af2e2f15b4fde27768b0ae269bd04193252bbc23d295106d686055e6c54f2ab1f2d727e342b7e0774ab3b188b147e0301 kapow-0.7.1.tar.gz
f0fcc64df68757fe9e9625411627d71468b05859f53828bc4708fbd87cac1aa24819ea14b79864d23fe4e4b9f89a8d5c728d158ac625b9eee7b2cdafef6c9d29 fix-cgo.patch
"