aboutsummaryrefslogtreecommitdiffstats
path: root/community/cni-plugins/APKBUILD
blob: 36389a90e8fafc235d033b4277bd4fceff7d8422 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=cni-plugins
pkgver=0.9.0
pkgrel=0
pkgdesc="Some standard networking plugins, maintained by the CNI team"
options="!check"
url="https://www.cni.dev/"
arch="all !mips !mips64" # limited by go
license="Apache-2.0"
makedepends="go bash linux-headers"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/containernetworking/plugins/archive/v$pkgver.tar.gz"
builddir="$srcdir/plugins-$pkgver"

build() {
	bash ./build_linux.sh
}

package() {
	install -Dm755 -t "$pkgdir"/usr/libexec/cni bin/*
	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="8d545d17e6bf4180755708e47607c855b99f6ea4183a33930b7d05974d2151c90873f1e2064b806059a26caba6942502d9954fce697bf000995d539c2208811c  cni-plugins-0.9.0.tar.gz"