vp-build/templates/ncurses/base.template
Juan RP 1b358afeaf Convert all xbps-base-chroot pkgs to subpkgs.
Also introduce "libs.depends", that adds a rundep of a package
with a proper version. This is to avoid modifying all dependent
packages if there's an API/ABI change.

--HG--
extra : convert_revision : a46b11b8e9187bdb2bfc954ad5ff40ecd9c0fe31
2009-02-22 05:57:13 +01:00

20 lines
505 B
Plaintext

# Template file for 'ncurses-base'.
#
short_desc="${short_desc} (base files)"
long_desc="${long_desc}
This package contains the ${sourcepkg} base files."
. ${XBPS_TEMPLATESDIR}/ncurses/libs.depends
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
mkdir -p ${destdir}/usr/share
mv ${origdir}/usr/bin ${destdir}/usr
mv ${origdir}/usr/share/terminfo ${destdir}/usr/share
mv ${origdir}/usr/share/tabset ${destdir}/usr/share
}