summaryrefslogtreecommitdiff
path: root/development/scite/scite.SlackBuild
diff options
context:
space:
mode:
authorIskar Enev <iskar.enev[@]gmail.com>2010-08-13 07:42:04 -0500
committerErik Hanson <erik@slackbuilds.org>2010-08-14 19:04:49 -0500
commit31a8c54dea0c1a15136de5cf12f34b5b1b366fb1 (patch)
treedd0c3ec0a45a651124158b5427970e9107dc53ae /development/scite/scite.SlackBuild
parent2403560642056269760b23e57ad814cc6c98444d (diff)
downloadslackbuilds-31a8c54dea0c1a15136de5cf12f34b5b1b366fb1.tar.gz
development/scite: Updated for version 2.12.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/scite/scite.SlackBuild')
-rw-r--r--development/scite/scite.SlackBuild18
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}
-