2022-07-12 11:15:51 +00:00
|
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
|
|
pkgname=cri-tools
|
2025-01-13 22:09:03 +00:00
|
|
|
pkgver=1.31.1
|
2024-03-12 15:18:42 +00:00
|
|
|
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"
|
2024-03-12 15:18:42 +00:00
|
|
|
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="
|
2025-01-13 22:09:03 +00:00
|
|
|
a72946944207d20f27236da12f7c2d532a1c9ebc881c3af4709494f7abc6f7b2d421934006a535a0b4a35926f09f58315ff0aaf4da870fd5a65281f547ef86a1 cri-tools-1.31.1.tar.gz
|
2023-07-04 15:10:30 +00:00
|
|
|
"
|