2009-02-22 05:57:13 +01:00
|
|
|
# Template file for 'ncurses-base'.
|
|
|
|
#
|
2009-11-22 08:31:44 +01:00
|
|
|
short_desc="${sourcepkg} base files"
|
2009-02-22 05:57:13 +01:00
|
|
|
long_desc="${long_desc}
|
|
|
|
|
2009-02-24 07:13:11 +01:00
|
|
|
This package contains the base files."
|
2009-02-22 05:57:13 +01:00
|
|
|
|
2009-11-22 08:31:44 +01:00
|
|
|
noarch=yes
|
|
|
|
revision=1
|
|
|
|
|
2009-02-22 05:57:13 +01:00
|
|
|
do_install()
|
|
|
|
{
|
2009-11-22 08:31:44 +01:00
|
|
|
cat $XBPS_SRCPKGDIR/ncurses/base-files | while read line; do
|
2009-03-11 06:31:56 +01:00
|
|
|
if [ -f ${SRCPKGDESTDIR}/${line} ]; then
|
|
|
|
install -D ${SRCPKGDESTDIR}/${line} ${DESTDIR}/${line}
|
|
|
|
rm -f ${SRCPKGDESTDIR}/${line}
|
2009-02-24 07:13:11 +01:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
2009-03-11 06:31:56 +01:00
|
|
|
mkdir -p ${DESTDIR}/lib/terminfo/a
|
|
|
|
mkdir -p ${DESTDIR}/lib/terminfo/l
|
|
|
|
mkdir -p ${DESTDIR}/lib/terminfo/v
|
2009-02-24 07:13:11 +01:00
|
|
|
|
2009-03-11 06:31:56 +01: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 07:13:11 +01:00
|
|
|
for f in vt100 vt100-am vt100-nav vt102 vt200 vt220 vt52; do
|
2009-03-11 06:31:56 +01:00
|
|
|
cp ${DESTDIR}/usr/share/terminfo/v/${f} \
|
|
|
|
${DESTDIR}/lib/terminfo/v
|
2009-02-24 07:13:11 +01:00
|
|
|
done
|
2009-02-22 05:57:13 +01:00
|
|
|
}
|