summaryrefslogtreecommitdiff
path: root/development/lua/lua.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@sns.it>2010-10-31 16:55:39 +0100
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-11-22 19:40:02 +0100
commitb9c93f44715b6e55fcb7308163a18237e29888f9 (patch)
tree6f767c2811c3764e3cd222058263eee294ded8cb /development/lua/lua.SlackBuild
parent624f2815b0c0fc800b8e97ea994b72dd6f228961 (diff)
downloadslackbuilds-b9c93f44715b6e55fcb7308163a18237e29888f9.tar.gz
development/lua: Small script cleanups and new maintainer.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'development/lua/lua.SlackBuild')
-rw-r--r--development/lua/lua.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/lua/lua.SlackBuild b/development/lua/lua.SlackBuild
index d0d16f4490..d0929e17cb 100644
--- a/development/lua/lua.SlackBuild
+++ b/development/lua/lua.SlackBuild
@@ -15,12 +15,10 @@ VERSION=${VERSION:-5.1.4}
BUILD=${BUILD:-4}
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
@@ -91,10 +89,8 @@ cat etc/lua.pc > $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/lua.pc
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/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{extras,html}
cp -a COPYRIGHT HISTORY INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION