[arch-commits] Commit in cni-plugins/repos/community-x86_64 (PKGBUILD PKGBUILD)

Morten Linderud foxboron at archlinux.org
Mon Mar 9 17:17:41 UTC 2020


    Date: Monday, March 9, 2020 @ 17:17:41
  Author: foxboron
Revision: 593133

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-09 17:17:31 UTC (rev 593132)
+++ PKGBUILD	2020-03-09 17:17:41 UTC (rev 593133)
@@ -1,27 +0,0 @@
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-
-pkgname=cni-plugins
-pkgver=0.8.4
-pkgrel=2
-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=('1a66a9d2cc3bad17201426905ed8349fa0c260ffef423338bc93c4ff191c4d38e6b9228ca3b5c44b148c854379f741f2dbd88ac9937dc1599f95f4df8b6f4346')
-
-build() {
-  cd plugins-$pkgver
-  ./build_linux.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"
-}

Copied: cni-plugins/repos/community-x86_64/PKGBUILD (from rev 593132, cni-plugins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-09 17:17:41 UTC (rev 593133)
@@ -0,0 +1,29 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=cni-plugins
+pkgver=0.8.5
+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=('e404ef69da189e2cc3e77ae1054fbea5232086066f2963d1ec824f63c02aede020ad8600d821ec47ae695043bd2c4a176d9e02b9a059024ff3a2fbeee9cb797a')
+
+build() {
+  cd plugins-$pkgver
+  export GOFLAGS="-trimpath"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  ./build_linux.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