development/scite: Updated for version 2.12.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Iskar Enev 2010-08-13 07:42:04 -05:00 committed by Erik Hanson
parent 2403560642
commit 31a8c54dea
2 changed files with 13 additions and 11 deletions

View file

@ -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}

View file

@ -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"