void-packages/srcpkgs/ncurses/ncurses-base.template
2011-10-24 20:07:58 +02:00

20 lines
408 B
Text

# Template file for 'ncurses-base'.
#
short_desc="${sourcepkg} base files"
long_desc="${long_desc}
This package contains the base files."
noarch=yes
noverifyrdeps=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
}