[arch-commits] Commit in cni-plugins/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Dec 10 13:27:03 UTC 2020
Date: Thursday, December 10, 2020 @ 13:27:03
Author: dvzrv
Revision: 773039
upgpkg: cni-plugins 0.9.0-2: Rebuild to add config dir.
Add configuration directory /etc/cni/net.d/ which is used by dependants for drop-in configs.
Simplify installation of binaries.
Update contributor info.
Modified:
cni-plugins/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-10 12:34:10 UTC (rev 773038)
+++ PKGBUILD 2020-12-10 13:27:03 UTC (rev 773039)
@@ -1,9 +1,10 @@
# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: David Runge <dvzrv at archlinux.org>
pkgname=cni-plugins
pkgver=0.9.0
-pkgrel=1
+pkgrel=2
pkgdesc='Some standard networking plugins, maintained by the CNI team'
arch=(x86_64)
url="https://github.com/containernetworking/plugins"
@@ -10,8 +11,10 @@
license=(Apache)
depends=(glibc)
makedepends=(go)
+options=('emptydirs')
source=($pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz)
sha512sums=('8d545d17e6bf4180755708e47607c855b99f6ea4183a33930b7d05974d2151c90873f1e2064b806059a26caba6942502d9954fce697bf000995d539c2208811c')
+b2sums=('82f723501901da40e4ea2f111bd1ed3023a1d11e1715902830f3cd0cf0d46d9f9c57389b3a763448fcd52c40aba97a731986ca1862e2ecd912e8a274abf626c9')
build() {
cd plugins-$pkgver
@@ -24,9 +27,8 @@
}
package() {
- cd plugins-$pkgver/bin
- for bin in *; do
- install -Dm755 $bin "$pkgdir/usr/lib/cni/$bin"
- done
- install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ cd plugins-$pkgver
+ install -vDm 755 bin/* -t "$pkgdir/usr/lib/cni/"
+ install -vdm 755 "${pkgdir}/etc/cni/net.d/"
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
More information about the arch-commits
mailing list