summaryrefslogtreecommitdiff
path: root/source/x/xterm/xterm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/xterm/xterm.SlackBuild')
-rwxr-xr-xsource/x/xterm/xterm.SlackBuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/x/xterm/xterm.SlackBuild b/source/x/xterm/xterm.SlackBuild
index 863ccae4..392d3053 100755
--- a/source/x/xterm/xterm.SlackBuild
+++ b/source/x/xterm/xterm.SlackBuild
@@ -88,12 +88,19 @@ CFLAGS="$SLKCFLAGS" \
--enable-wide-chars \
--enable-88-color \
--enable-256-color \
+ --with-icon-theme=hicolor \
+ --with-icondir=/usr/share/icons \
+ --with-pixmapdir=/usr/share/pixmaps \
--build=$ARCH-slackware-linux
# Build and install:
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+# Not sure why "make install" doesn't do this:
+mkdir -p $PKG/usr/share/applications
+cp xterm.desktop uxterm.desktop $PKG/usr/share/applications
+
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
@@ -129,6 +136,7 @@ cp -a \
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz