mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-08 07:02:43 +01:00
33 lines
1003 B
Plaintext
33 lines
1003 B
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=cni-plugins
|
|
pkgver=0.7.4
|
|
pkgrel=0
|
|
pkgdesc="Some standard networking plugins, maintained by the CNI team"
|
|
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() {
|
|
cd "$builddir"
|
|
bash ./build.sh
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
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="2ffe18353b525d90679eca4950e96afcaadd7c387956ef5baaf4ce97c0550315fda63403161ab8f23df086955dc2a47da612fb8d0cdd30ccfe12649393e2242c cni-plugins-0.7.4.tar.gz"
|