From b9c93f44715b6e55fcb7308163a18237e29888f9 Mon Sep 17 00:00:00 2001 From: ponce Date: Sun, 31 Oct 2010 16:55:39 +0100 Subject: development/lua: Small script cleanups and new maintainer. Signed-off-by: Heinz Wiesinger --- development/lua/lua.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'development/lua/lua.SlackBuild') diff --git a/development/lua/lua.SlackBuild b/development/lua/lua.SlackBuild index d0d16f44907f..d0929e17cb01 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 -- cgit v1.2.3