blob: c5ee36ce96a0ed656713a4cf62043a494f79bd8b (
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
28
29
30
31
32
33
34
|
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=kubeseal
pkgver=0.18.1
pkgrel=2
pkgdesc="One-way encrypted Secrets tool for Kubernetes"
url="https://sealed-secrets.netlify.app/"
arch="all"
license="Apache-2.0"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/bitnami-labs/sealed-secrets/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/sealed-secrets-$pkgver"
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=$pkgver" \
./cmd/kubeseal
}
check() {
go test ./...
}
package() {
install -Dm755 bin/$pkgname -t "$pkgdir"/usr/bin
}
sha512sums="
ca0d45a7022abc4e2ec11bf7be7710993103ed2dfe09f9829a7a553d4a206b03f60616082a1ee942a811027815143d44116db7d5f7e66513032e42d8ebfd1ce2 kubeseal-0.18.1.tar.gz
"
|