blob: 2a4ad9aa2af16c231192bab89677e618abf2a118 (
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.2
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="$srcdir/go-cache"
export GOTMPDIR="$srcdir"
export 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="
7b15f4296c9b211fd2c2e70554730c2417e0c0c373e0c84c021aa5df75e7bec5670052963ddb8cd25ccb853c9e067c8cf527d23bb08fe1ec38ede6c1b0973e42 kubergrunt-0.9.2.tar.gz
"
|