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