mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-12 09:12:36 +02:00
32 lines
759 B
Plaintext
32 lines
759 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=kapow
|
|
pkgver=0.7.1
|
|
pkgrel=3
|
|
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"
|
|
builddir="$srcdir/kapow-$pkgver"
|
|
|
|
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
|
|
"
|