diff options
author | Ryan P.C. McQuen <ryanpcmcquen@gmail.com> | 2014-08-07 09:44:25 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-07 09:44:25 +0700 |
commit | 295ae40e04df2fc78d1796475fe48fe2c9c6e4fa (patch) | |
tree | 5c858c5bbd73bc73361639e4da66a0bdca71f2b2 /games/supertuxkart/supertuxkart.SlackBuild | |
parent | 48e1bd52de8f7079ba898420a3e3344cafeaabcb (diff) |
games/supertuxkart: Updated for version 0.8.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/supertuxkart/supertuxkart.SlackBuild')
-rw-r--r-- | games/supertuxkart/supertuxkart.SlackBuild | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/games/supertuxkart/supertuxkart.SlackBuild b/games/supertuxkart/supertuxkart.SlackBuild index f917067912372..be7421a2aea8d 100644 --- a/games/supertuxkart/supertuxkart.SlackBuild +++ b/games/supertuxkart/supertuxkart.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for supertuxkart +# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com + # Copyright 2009-2011 Larry Hajali <larryhaja[at]gmail[dot]com> # Copyright 2011-2013 Niels Horn, Rio de Janeiro, RJ, Brazil # All rights reserved. @@ -23,10 +25,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# revision date: 2013/03/28 - PRGNAM=supertuxkart -VERSION=${VERSION:-0.8} +VERSION=${VERSION:-0.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,15 +69,10 @@ tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2 cd $UNTARRED-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# The Makefile's don't respect directory variables given to configure. -# Let's fix that with a few other additional cleanups. -patch -p1 < $CWD/translations.patch -sed -i 's|\/games|\/bin|g' data/${PRGNAM}_desktop.template + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # First build the Irrlicht (static) library. # Note: This is a forked, modfied copy of irrlicht-1.8 @@ -102,7 +97,7 @@ cd build make install DESTDIR=$PKG cd .. -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 mkdir -p $PKG/usr/man/man6 |