aports/testing/kops/APKBUILD
2021-08-30 18:02:59 +00:00

35 lines
966 B
Plaintext

# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=kops
pkgver=1.21.1
pkgrel=0
pkgdesc="Kubernetes Operations"
url="https://github.com/kubernetes/kops"
arch="x86_64"
license="Apache-2.0"
depends="kubernetes"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/kubernetes/kops/archive/v$pkgver.tar.gz
cilium-builder-skip-test-without-sysfs.patch
"
export GOMODCACHE=$srcdir/go
export GOFLAGS="$GOFLAGS -modcacherw"
build() {
make kops
}
check() {
make test
}
package() {
install -Dm0755 .build/local/kops "$pkgdir"/usr/bin/kops
}
sha512sums="
da295c5b3374b44354fbe4ee1dfe49b6591f2cac8d13c77a3db73a25f15eaface3327327965a7e2d7fb38660a8a3082aad37f4f90094eac82ce62f500524c2d0 kops-1.21.1.tar.gz
b2f76ff1a92d5348ff37be264c789bda8841f7e851b4f05339077bae26c2fd2390def6f9cc8fc087950515e7d41b15a732c8cb7333b46dbf33c06dce0900776e cilium-builder-skip-test-without-sysfs.patch
"