summaryrefslogtreecommitdiff
path: root/multimedia/nted/nted.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/nted/nted.SlackBuild')
-rw-r--r--multimedia/nted/nted.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/multimedia/nted/nted.SlackBuild b/multimedia/nted/nted.SlackBuild
index 75110d9325..0bb98c522b 100644
--- a/multimedia/nted/nted.SlackBuild
+++ b/multimedia/nted/nted.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nted
#(http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted.xhtml)
-#
+
# Copyright 2008 Corrado Franco (http://www.conraid.net)
# All rights reserved.
#
@@ -26,7 +26,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=nted
-VERSION=${VERSION:-1.5.1}
+VERSION=${VERSION:-1.8.7}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,10 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux \
make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object"| grep ELF | \
- cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
@@ -98,4 +95,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}