From 592e82708121c7b1958e28e5db26a5a9da4116b0 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 28 Sep 2014 03:22:14 +0000 Subject: [PATCH] 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. --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 5ddcaf1..5999634 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -288,7 +288,7 @@ _package-docs() { pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs") for _p in ${pkgname[@]}; do eval "package_${_p}() { - _package${_p#${pkgbase}} + $(declare -f "_package${_p#${pkgbase}}") }" done