Blob Blame History Raw
#
# set -o errexit -o noglob are assumed.
#

pkg_install() {
	build_fileop mkdir "${PKG_PREFIX}";
	tar -C ../destdir -cpf - . | tar -C "${PKG_PREFIX}" -xpf -;
	if [ -n "${PKG_PREFIX_EXTRA}" ]; then
		build_fileop mkdir "${PKG_PREFIX_EXTRA}";
		tar -C ../destdir -cpf - . | tar -C "${PKG_PREFIX_EXTRA}" -xpf -;
	fi;
};

# vim:filetype=sh