aboutsummaryrefslogtreecommitdiff
path: root/development/scite
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-05-01 10:19:23 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-05-03 09:08:22 -0500
commit989dc889f1e81f9a9ce12c527160a51cae399011 (patch)
tree3412049f7561d99379bf3a1b11d3abd2262117fd /development/scite
parentbf6cc2ad5a1784316e70bfbdc1a03fc0517459cb (diff)
development/scite: ARCH fixes and cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/scite')
-rw-r--r--development/scite/scite.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/development/scite/scite.SlackBuild b/development/scite/scite.SlackBuild
index 2353545adb74..7f4569be4e58 100644
--- a/development/scite/scite.SlackBuild
+++ b/development/scite/scite.SlackBuild
@@ -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}
+