xap/rxvt-unicode: Included termcap entry.

slackware-14.2
Damien Goutte-Gattat 10 years ago
parent a98a4bb944
commit 192f04ed39
  1. 6
      xap/rxvt-unicode/doinst.sh
  2. 8
      xap/rxvt-unicode/rxvt-unicode.SlackBuild

@ -0,0 +1,6 @@
#!/bin/sh
if ! grep rxvt-unicode /etc/termcap >/dev/null ; then
echo >> /etc/termcap
cat usr/doc/rxvt-unicode-9.15/rxvt-unicode.termcap >> /etc/termcap
fi

@ -33,7 +33,7 @@ WGET=${WGET:-http://dist.schmorp.de/rxvt-unicode/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-rxvt-unicode}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-3GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -103,10 +103,12 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 COPYING Changes README.* $PKG/usr/doc/$NAME
install -m 644 COPYING Changes README.* doc/etc/rxvt-unicode.termcap \
$PKG/usr/doc/$NAME
# Copy slack-desc file
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Package the tree
cd $PKG

Loading…
Cancel
Save