summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_install.subr
blob: 0d74ecf8df439e1eb1af7bcda558b8434d9ab76b (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}" -xpf -;
};

# vim:filetype=sh