# Contributor: Lucas Ramage # Maintainer: Lucas Ramage pkgname=rke pkgver=1.4.3 pkgrel=10 pkgdesc="Rancher Kubernetes Engine" options="!check net chmod-clean" url="https://github.com/rancher/rke" license="Apache-2.0" arch="all" makedepends="go" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/rancher/rke/archive/v$pkgver.tar.gz" # secfixes: # 1.3.2-r0: # - CVE-2021-25742 export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { go build -v -ldflags "-X main.VERSION=v$pkgver" } package() { install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md } sha512sums=" a87aa0f71dff96e40f53e758fe588f0f941844bfdf30610a528b835622af45426b4af789a7beee35796ecc3bc7fcbb7831bc28168fdb67a093adf9f9f4e05542 rke-1.4.3.tar.gz "