summaryrefslogtreecommitdiffhomepage
path: root/pkg.build
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-07-10 00:45:03 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-07-10 00:45:03 +0000
commit539500ae2d51e4847fc486c74bb889959bb6f738 (patch)
treedfda0216992cc6e759d5d2b3133e6f759460cd75 /pkg.build
parent820be1bcb38273c0c7adc44b4a474c08273cdf61 (diff)
downloadmidipix_build-539500ae2d51e4847fc486c74bb889959bb6f738.tar.bz2
midipix_build-539500ae2d51e4847fc486c74bb889959bb6f738.tar.xz
Followup to last commit.
Diffstat (limited to 'pkg.build')
-rw-r--r--pkg.build19
1 files changed, 3 insertions, 16 deletions
diff --git a/pkg.build b/pkg.build
index e9376149..1f828de9 100644
--- a/pkg.build
+++ b/pkg.build
@@ -91,21 +91,8 @@ if ! is_build_script_done patch; then
patch -b -d ${PKG_SUBDIR} -p1 < ${__patch_fname};
fi;
done; unset __patch_fname;
- if [ -n "${PKG_PATCHES_EXTRA_URL}" ]; then
- (rm_if_exists -m -c ${PKG_SUBDIR}-patches-extra;
- wget -c -nd -np -r -R \*.htm\* -R \*.sig ${PKG_PATCHES_EXTRA_URL};
- for __patch_fname in \
- $(find . -type f -not -iname \*.sig | sort); do
- patch -b -d ../${PKG_SUBDIR} -p0 < ${__patch_fname};
- done);
- if [ -n "${PKG_PATCHES_EXTRA_MANIFEST}" ]; then
- (set -- ${PKG_PATCHES_EXTRA_MANIFEST};
- while [ ${#} -gt 0 ]; do
- if ! compare_hash ${1} ${2}; then
- log_msg failexit "Error: hash mismatch for patch file \`${1}'.";
- fi; shift;
- done);
- fi;
+ if test_cmd pkg_${PKG_NAME}_patch_post; then
+ pkg_${PKG_NAME}_patch_post;
fi;
set_build_script_done patch -configure;
fi;
@@ -230,7 +217,7 @@ if ! is_build_script_done install; then
echo mkdir -p -- ${PKG_PREFIX}/${__mkdir_fname};
mkdir -p -- ${PKG_PREFIX}/${__mkdir_fname};
;;
- *)
+ *)
__file_fname_src="${1%=*}";
__file_fname_dst="${1#*=}";
echo cp -pP -- ${__file_fname_src} ${PKG_PREFIX}/${__file_fname_dst};