summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/scite/scite.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/development/scite/scite.SlackBuild b/development/scite/scite.SlackBuild
index 0e1b507106..7f18ed5c23 100644
--- a/development/scite/scite.SlackBuild
+++ b/development/scite/scite.SlackBuild
@@ -5,7 +5,7 @@
PRGNAM=scite
VERSION=2.03
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -49,12 +49,8 @@ make install DESTDIR=$PKG
( cd $PKG/usr/bin ; ln -sf SciTE scite )
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
cd $TMP/scite
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
@@ -64,7 +60,7 @@ cp -a $PKG/usr/share/scite/*.html $PKG/usr/share/scite/*.png \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/man/man1
-cat doc/scite.1 | gzip -9c > $PKG/usr/man/man1/scite.1.gz
+gzip -9c doc/scite.1 > $PKG/usr/man/man1/scite.1.gz
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc