[arch-commits] Commit in cni-plugins/repos (2 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Wed Jan 23 13:23:23 UTC 2019


    Date: Wednesday, January 23, 2019 @ 13:23:19
  Author: bpiotrowski
Revision: 427234

archrelease: copy trunk to community-testing-x86_64

Added:
  cni-plugins/repos/community-testing-x86_64/
  cni-plugins/repos/community-testing-x86_64/PKGBUILD
    (from rev 427233, cni-plugins/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: cni-plugins/repos/community-testing-x86_64/PKGBUILD (from rev 427233, cni-plugins/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-01-23 13:23:19 UTC (rev 427234)
@@ -0,0 +1,27 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=cni-plugins
+pkgver=0.7.4
+pkgrel=1
+pkgdesc='Some standard networking plugins, maintained by the CNI team'
+arch=(x86_64)
+url="https://github.com/containernetworking/plugins"
+license=(Apache)
+depends=(glibc)
+makedepends=(go-pie)
+source=($pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz)
+sha512sums=('2ffe18353b525d90679eca4950e96afcaadd7c387956ef5baaf4ce97c0550315fda63403161ab8f23df086955dc2a47da612fb8d0cdd30ccfe12649393e2242c')
+
+build() {
+  cd plugins-$pkgver
+  ./build.sh
+}
+
+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"
+}



More information about the arch-commits mailing list