diff options
Diffstat (limited to 'testing/kapow/APKBUILD')
-rw-r--r-- | testing/kapow/APKBUILD | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/testing/kapow/APKBUILD b/testing/kapow/APKBUILD index 0b0e5d2013f..40be1588db4 100644 --- a/testing/kapow/APKBUILD +++ b/testing/kapow/APKBUILD @@ -1,14 +1,19 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=kapow -pkgver=0.5.4 -pkgrel=2 +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" -builddir="$srcdir/kapow-$pkgver" +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 @@ -22,4 +27,7 @@ package() { install -Dm755 build/kapow "$pkgdir"/usr/bin/kapow } -sha512sums="a1ee66f2d1404c1b323b8c6b3eaabcd804d61653ad0a28a0b8ffa75d804b8c42cfebf81400a0a5822055ae8135f4f4bcc6ca159aa8c6c701799f4a11cb86d0bb kapow-0.5.4.tar.gz" +sha512sums=" +823a184bc988fde3e5680728438b5c2af2e2f15b4fde27768b0ae269bd04193252bbc23d295106d686055e6c54f2ab1f2d727e342b7e0774ab3b188b147e0301 kapow-0.7.1.tar.gz +f0fcc64df68757fe9e9625411627d71468b05859f53828bc4708fbd87cac1aa24819ea14b79864d23fe4e4b9f89a8d5c728d158ac625b9eee7b2cdafef6c9d29 fix-cgo.patch +" |