alpine-overlay/kubezero/cri-tools/APKBUILD

32 lines
909 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
2023-07-04 15:10:30 +00:00
pkgver=1.26.1
pkgrel=1
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="x86_64 aarch64 ppc64le s390x armv7 x86"
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="
1900b5d22a20ab1f01c13832be4dcf1e9845b64afb3cdcb6169752bbb20a6e69dcbb6ccc8d31b9d4bf091bf81aa04b9979544586763ea985499f229e7ab2a39d cri-tools-1.26.1.tar.gz
"