[arch-commits] Commit in cni-plugins/trunk (PKGBUILD)

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


    Date: Monday, March 9, 2020 @ 17:17:31
  Author: foxboron
Revision: 593132

upgpkg: cni-plugins 0.8.5-1

Modified:
  cni-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-09 17:15:20 UTC (rev 593131)
+++ PKGBUILD	2020-03-09 17:17:31 UTC (rev 593132)
@@ -1,8 +1,9 @@
 # Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
 
 pkgname=cni-plugins
-pkgver=0.8.4
-pkgrel=2
+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"
@@ -10,10 +11,12 @@
 depends=(glibc)
 makedepends=(go-pie)
 source=($pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz)
-sha512sums=('1a66a9d2cc3bad17201426905ed8349fa0c260ffef423338bc93c4ff191c4d38e6b9228ca3b5c44b148c854379f741f2dbd88ac9937dc1599f95f4df8b6f4346')
+sha512sums=('e404ef69da189e2cc3e77ae1054fbea5232086066f2963d1ec824f63c02aede020ad8600d821ec47ae695043bd2c4a176d9e02b9a059024ff3a2fbeee9cb797a')
 
 build() {
   cd plugins-$pkgver
+  export GOFLAGS="-trimpath"
+  export CGO_LDFLAGS="${LDFLAGS}"
   ./build_linux.sh
 }
 
@@ -22,6 +25,5 @@
   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