mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 06:42:01 +01:00
31 lines
936 B
Plaintext
31 lines
936 B
Plaintext
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
|
|
pkgname=vals
|
|
pkgver=0.25.0
|
|
pkgrel=4
|
|
pkgdesc="Helm-like configuration values loader with support for various sources"
|
|
url="https://github.com/helmfile/vals"
|
|
arch="all"
|
|
license="Apache-2.0"
|
|
makedepends="go"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/helmfile/vals/archive/refs/tags/v$pkgver.tar.gz"
|
|
options="!check" # Tests require various value sources (vault, sops, ...)
|
|
|
|
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 -X main.commit=AlpineLinux" \
|
|
./cmd/vals
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 bin/$pkgname -t "$pkgdir"/usr/bin/
|
|
}
|
|
|
|
sha512sums="
|
|
fff7ad0346518ad455afedfc09df24010438d531ae49c1803c9a853ebf8a57f4a20f53d2ce02042de12a031d3a9478431743d092b9d12b17e95b81acda0cc7ec vals-0.25.0.tar.gz
|
|
"
|