development/scite: ARCH fixes and cleanup.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2011-05-01 10:19:23 -04:00 committed by Robby Workman
parent bf6cc2ad5a
commit 989dc889f1

View file

@ -4,7 +4,6 @@
PRGNAM=scite
VERSION=2.12
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -60,12 +59,8 @@ make install DESTDIR=$PKG
( cd $PKG/usr/bin ; ln -sf SciTE scite )
( 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
)
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "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
@ -83,3 +78,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}