summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_install.subr
blob: 84eda480e2e9c3f8be85877a0aa9064db0a96506 (plain)
1
2
3
4
5
6
7
8
9
10
11
#
# set -o errexit -o noglob are assumed.
#

pkg_install() {
	ex_rtl_fileop mkdir "${PKG_PREFIX}";
	tar -C "${PKG_DESTDIR}" -cpf - . |\
		tar -C "${PKG_PREFIX}" --overwrite -xpf -;
};

# vim:filetype=sh