From 31a8c54dea0c1a15136de5cf12f34b5b1b366fb1 Mon Sep 17 00:00:00 2001 From: Iskar Enev Date: Fri, 13 Aug 2010 07:42:04 -0500 Subject: development/scite: Updated for version 2.12. Signed-off-by: Erik Hanson --- development/scite/scite.SlackBuild | 18 ++++++++++-------- development/scite/scite.info | 6 +++--- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/development/scite/scite.SlackBuild b/development/scite/scite.SlackBuild index 0706d878ecddc..2353545adb748 100644 --- a/development/scite/scite.SlackBuild +++ b/development/scite/scite.SlackBuild @@ -3,16 +3,15 @@ # Written by Iskar Enev 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 d3b2a46290d07..43b471cf63fc0 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" -- cgit v1.2.3