alpine-overlay/kubezero/cri-tools/APKBUILD

32 lines
881 B
Plaintext
Raw Normal View History

2022-07-12 11:15:51 +00:00
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=cri-tools
2024-04-03 14:27:05 +00:00
pkgver=1.28.0
pkgrel=0
2022-07-12 11:15:51 +00:00
pkgdesc="CLI tool for Kubelet Container Runtime Interface (CRI)"
url="https://github.com/kubernetes-sigs/cri-tools"
arch="all !armhf"
2022-07-12 11:15:51 +00:00
license="Apache-2.0"
makedepends="go"
options="!check" # no check available
source="$pkgname-$pkgver.tar.gz::https://github.com/kubernetes-sigs/cri-tools/archive/v$pkgver.tar.gz"
2023-07-04 15:10:30 +00:00
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
2022-07-12 11:15:51 +00:00
build() {
make all
}
2023-07-04 15:10:30 +00:00
check() {
make test
}
2022-07-12 11:15:51 +00:00
package() {
2023-07-04 15:10:30 +00:00
make BINDIR="$pkgdir"/usr/bin install
2022-07-12 11:15:51 +00:00
}
2023-07-04 15:10:30 +00:00
sha512sums="
2024-04-03 14:27:05 +00:00
222d3785dc7e8485538b4745766494be02d359347eb1337c9dd04839e19269d768922ff04f07d1fb72291c3554ecf91b382307253a288c9376079135a625cc0c cri-tools-1.28.0.tar.gz
2023-07-04 15:10:30 +00:00
"