blob: f7527f8d5a603e638eb3c58aefa46d092a78d6f2 (
plain)
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
26
27
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=cni-plugins
pkgver=0.8.1
pkgrel=1
pkgdesc="Some standard networking plugins, maintained by the CNI team"
options="!check"
url="https://github.com/containernetworking/cni"
arch="all"
license="Apache"
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() {
mkdir -p "${pkgdir}/usr/share/${pkgname}/"
cp -ar bin "${pkgdir}/usr/share/${pkgname}/"
mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
sha512sums="ed57162fc3d014c897ee2f7f82b738624ca42ad7c238ac6ac5c1eb9ac865fe27f8ded1510cfb131f7b43e44f6cd0366ab83011386bcb6add36ea11235767760f cni-plugins-0.8.1.tar.gz"
|