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

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

# vim:filetype=sh