Date: Wednesday, January 18, 2023 @ 15:28:09
  Author: dvzrv
Revision: 1386886

upgpkg: cni-plugins 1.2.0-2: Rebuild to strip binaries manually.

Strip binaries below /usr/lib/cni/ manually as makepkg doesn't do it:
https://gitlab.archlinux.org/pacman/pacman/-/merge_requests/38

Modified:
  cni-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-18 15:01:45 UTC (rev 1386885)
+++ PKGBUILD    2023-01-18 15:28:09 UTC (rev 1386886)
@@ -5,7 +5,7 @@
 _name=plugins
 pkgname=cni-plugins
 pkgver=1.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Some standard networking plugins, maintained by the CNI team'
 arch=(x86_64)
 url="https://github.com/containernetworking/plugins";
@@ -52,6 +52,8 @@
 package() {
   cd $_name-$pkgver
   install -vDm755 bin/* -t "$pkgdir/usr/lib/cni/"
+  # strip files manually because makepkg doesn't do it: 
https://gitlab.archlinux.org/pacman/pacman/-/merge_requests/38
+  strip "$pkgdir/usr/lib/cni/"*
   # some applications would build their own versions of CNI plugins in
   # /opt/cni/bin if they are not found (as non-symlink files), so we have to
   # install them twice... ;_;

Reply via email to