void-packages/srcpkgs/ncurses/ncurses-base.template

20 lines
390 B
Plaintext
Raw Normal View History

# Template file for 'ncurses-base'.
#
short_desc="${sourcepkg} base files"
long_desc="${long_desc}
This package contains the base files."
noarch=yes
do_install()
{
cat $XBPS_SRCPKGDIR/ncurses/base-files | while read line; do
if [ -f ${SRCPKGDESTDIR}/${line} ]; then
install -D -m644 ${SRCPKGDESTDIR}/${line} \
${DESTDIR}/${line}
rm -f ${SRCPKGDESTDIR}/${line}
fi
done
}