blob: 91e874c39f726d74bd13fd8024e3c35a7f264a15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=kubergrunt
pkgver=0.9.3
pkgrel=2
pkgdesc="Binary with a collection of commands to fill the gaps between Terraform, Helm and Kubectl"
url="https://www.gruntwork.io/"
arch="all"
license="Apache-2.0"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/gruntwork-io/kubergrunt/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # Tests require a running Kubernetes cluster
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -v -o bin/$pkgname -ldflags "-X main.VERSION=v$pkgver" ./cmd
}
package() {
install -Dm755 bin/$pkgname -t "$pkgdir"/usr/bin/
}
sha512sums="
749dc349199a2270f3217423dda2b04bfbfa5fbcb6d022a1e17108c5ed6f648483ff3ef8e2d03355ce6d24cc8b561f27f6cac23b148f44bc78b2ad77c20ea5c6 kubergrunt-0.9.3.tar.gz
"
|