summaryrefslogtreecommitdiff
path: root/development
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
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')
-rw-r--r--development/scite/scite.SlackBuild18
-rw-r--r--development/scite/scite.info6
2 files changed, 13 insertions, 11 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}
-
diff --git a/development/scite/scite.info b/development/scite/scite.info
index d3b2a46290..43b471cf63 100644
--- a/development/scite/scite.info
+++ b/development/scite/scite.info
@@ -1,8 +1,8 @@
PRGNAM="scite"
-VERSION="2.03"
+VERSION="2.12"
HOMEPAGE="http://scintilla.org/SciTE.html"
-DOWNLOAD="http://downloads.sourceforge.net/scintilla/scite203.tgz"
-MD5SUM="f70f237180a556e287c17423b6c45a24"
+DOWNLOAD="http://downloads.sourceforge.net/scintilla/scite212.tgz"
+MD5SUM="8868c06c1cfb248abd92cb3956bb5ba1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Iskar Enev"