diff options
Diffstat (limited to 'testing/kapow/APKBUILD')
-rw-r--r-- | testing/kapow/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/kapow/APKBUILD b/testing/kapow/APKBUILD new file mode 100644 index 00000000000..40be1588db4 --- /dev/null +++ b/testing/kapow/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=kapow +pkgver=0.7.1 +pkgrel=5 +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 +" |