mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-08 23:31:35 +02:00
35 lines
884 B
Plaintext
35 lines
884 B
Plaintext
# Contributor: Kaarle Ritvanen <kunkku@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=kops
|
|
pkgver=1.28.0
|
|
pkgrel=1
|
|
pkgdesc="Kubernetes Operations"
|
|
url="https://github.com/kubernetes/kops"
|
|
arch="x86_64"
|
|
license="Apache-2.0"
|
|
depends="kubernetes"
|
|
makedepends="go bash"
|
|
options="net"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/kubernetes/kops/archive/v$pkgver.tar.gz"
|
|
|
|
export GOFLAGS="$GOFLAGS -modcacherw -mod=readonly"
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
build() {
|
|
make kops
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
install -Dm0755 .build/dist/linux/*/kops "$pkgdir"/usr/bin/kops
|
|
}
|
|
|
|
sha512sums="
|
|
4312870a21c950d4272468c9867ad2ffa7ae528043fc11657c3ff2b08f78fc69bfff6aa3190f992c1babaf101d3281c5c6cb73228a83b156c54420f53bd6d4a4 kops-1.28.0.tar.gz
|
|
"
|