2009-02-22 04:57:13 +00:00
|
|
|
# Template file for 'ncurses-base'.
|
|
|
|
#
|
|
|
|
short_desc="${short_desc} (base files)"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
2009-02-24 06:13:11 +00:00
|
|
|
This package contains the base files."
|
2009-02-22 04:57:13 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2009-02-24 06:13:11 +00:00
|
|
|
cat $XBPS_TEMPLATESDIR/ncurses/base-files | while read line; do
|
2009-03-11 05:31:56 +00:00
|
|
|
if [ -f ${SRCPKGDESTDIR}/${line} ]; then
|
|
|
|
install -D ${SRCPKGDESTDIR}/${line} ${DESTDIR}/${line}
|
|
|
|
rm -f ${SRCPKGDESTDIR}/${line}
|
2009-02-24 06:13:11 +00:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
2009-03-11 05:31:56 +00:00
|
|
|
mkdir -p ${DESTDIR}/lib/terminfo/a
|
|
|
|
mkdir -p ${DESTDIR}/lib/terminfo/l
|
|
|
|
mkdir -p ${DESTDIR}/lib/terminfo/v
|
2009-02-24 06:13:11 +00:00
|
|
|
|
2009-03-11 05:31:56 +00:00
|
|
|
cp ${DESTDIR}/usr/share/terminfo/a/ansi ${DESTDIR}/lib/terminfo/a
|
|
|
|
cp ${DESTDIR}/usr/share/terminfo/l/linux ${DESTDIR}/lib/terminfo/l
|
2009-02-24 06:13:11 +00:00
|
|
|
for f in vt100 vt100-am vt100-nav vt102 vt200 vt220 vt52; do
|
2009-03-11 05:31:56 +00:00
|
|
|
cp ${DESTDIR}/usr/share/terminfo/v/${f} \
|
|
|
|
${DESTDIR}/lib/terminfo/v
|
2009-02-24 06:13:11 +00:00
|
|
|
done
|
2009-02-22 04:57:13 +00:00
|
|
|
}
|