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.
This commit is contained in:
Dave Reisner 2014-09-28 03:22:14 +00:00
parent a4cea77cbb
commit 592e827081

View File

@ -288,7 +288,7 @@ _package-docs() {
pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs") pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs")
for _p in ${pkgname[@]}; do for _p in ${pkgname[@]}; do
eval "package_${_p}() { eval "package_${_p}() {
_package${_p#${pkgbase}} $(declare -f "_package${_p#${pkgbase}}")
}" }"
done done