midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone
Blob Blame History Raw
#
# set -o errexit -o noglob are assumed.
#

pkg_install() {
	local _dst_path;
	for _dst_path in "${PKG_PREFIX}" "${PKG_PREFIX_EXTRA}"; do
		if [ -n "${_dst_path}" ]; then
			ex_build_fileop mkdir "${_dst_path}";
			tar -C "${PKG_DESTDIR}" -cpf - . |\
				tar -C "${_dst_path}" -xpf -;
		fi;
	done;
};

# vim:filetype=sh