# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=cni-plugins pkgver=0.8.5 pkgrel=0 pkgdesc="Some standard networking plugins, maintained by the CNI team" options="!check" url="https://github.com/containernetworking/cni" arch="all" 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() { 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="e404ef69da189e2cc3e77ae1054fbea5232086066f2963d1ec824f63c02aede020ad8600d821ec47ae695043bd2c4a176d9e02b9a059024ff3a2fbeee9cb797a cni-plugins-0.8.5.tar.gz"