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

Dave Reisner dreisner at archlinux.org
Sun Sep 28 03:22:15 UTC 2014


    Date: Sunday, September 28, 2014 @ 05:22:14
  Author: dreisner
Revision: 223598

Adjust hack to be more friendly to makepkg

This keeps the same benefits of the original solution, but is more compatible
with makepkg's extraction methods.

Modified:
  linux-lts/trunk/PKGBUILD
  linux/trunk/PKGBUILD

---------------------+
 -lts/trunk/PKGBUILD |    2 +-
 trunk/PKGBUILD      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	2014-09-27 22:06:39 UTC (rev 223597)
+++ trunk/PKGBUILD	2014-09-28 03:22:14 UTC (rev 223598)
@@ -289,7 +289,7 @@
 pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs")
 for _p in ${pkgname[@]}; do
   eval "package_${_p}() {
-    _package${_p#${pkgbase}}
+    $(declare -f "_package${_p#${pkgbase}}")
   }"
 done
 

Modified: -lts/trunk/PKGBUILD
===================================================================
--- -lts/trunk/PKGBUILD	2014-09-27 22:06:39 UTC (rev 223597)
+++ -lts/trunk/PKGBUILD	2014-09-28 03:22:14 UTC (rev 223598)
@@ -315,7 +315,7 @@
 pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs")
 for _p in ${pkgname[@]}; do
   eval "package_${_p}() {
-    _package${_p#${pkgbase}}
+    $(declare -f "_package${_p#${pkgbase}}")
   }"
 done
 



More information about the arch-commits mailing list