diff options
Diffstat (limited to 'development/scite/scite.SlackBuild')
-rw-r--r-- | development/scite/scite.SlackBuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/development/scite/scite.SlackBuild b/development/scite/scite.SlackBuild index 0706d878ec..2353545adb 100644 --- a/development/scite/scite.SlackBuild +++ b/development/scite/scite.SlackBuild @@ -3,16 +3,15 @@ # Written by Iskar Enev <iskar.enev[@]gmail.com> PRGNAM=scite -VERSION=2.03 -BUILD=${BUILD:-2} +VERSION=2.12 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -61,8 +60,12 @@ make install DESTDIR=$PKG ( cd $PKG/usr/bin ; ln -sf SciTE scite ) -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 $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 || true +) cd $TMP/scite mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html @@ -72,7 +75,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 -gzip -9c doc/scite.1 > $PKG/usr/man/man1/scite.1.gz +cat doc/scite.1 | gzip -9c > $PKG/usr/man/man1/scite.1.gz mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc @@ -80,4 +83,3 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} - |