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
pkgver=1.27.1
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="
7e4349fa9a0a16d27fbde363a26978fe6e65a326d29b344f13cd2b43009f12f8cdf14fd9557ac29beb913d4258160e0fa4108d40378dd1216ff631922e40392e cri-tools-1.27.1.tar.gz
2023-07-04 15:10:30 +00:00
"