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

Jelle van der Waa jelle at archlinux.org
Wed Oct 14 20:27:04 UTC 2020


    Date: Wednesday, October 14, 2020 @ 20:27:03
  Author: jelle
Revision: 398353

upgpkg: autogen 5.18.16-2

Modified:
  autogen/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-14 19:20:05 UTC (rev 398352)
+++ PKGBUILD	2020-10-14 20:27:03 UTC (rev 398353)
@@ -4,13 +4,13 @@
 
 pkgname=autogen
 pkgver=5.18.16
-pkgrel=1
+pkgrel=2
 pkgdesc="A tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text"
 arch=('x86_64')
 url="https://www.gnu.org/software/autogen/"
 license=('GPL3')
-depends=('guile' 'libxml2')
-makedepends=('autogen')
+depends=('guile' 'libxml2' 'perl')
+makedepends=('autogen' 'chrpath')
 source=(https://ftp.gnu.org/gnu/${pkgname}/rel${pkgver}/${pkgname}-${pkgver}.tar.xz{,.sig})
 validpgpkeys=('44A088E295C3A722C450590EC9EF76DEB74EE762'
               '3EEE51D1355B8EC40D9F3122495143D05D0712D1') # Bruce Korb <bkorb at gnu.org>
@@ -37,4 +37,11 @@
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
+
+  # Remove unrequired RPATH from binaries
+  for i in ${pkgdir}/usr/bin/*; do
+    if chrpath --list "$i"; then
+      chrpath --delete "$i";
+    fi
+  done
 }



More information about the arch-commits mailing list