diff options
Diffstat (limited to 'games/starfighter/starfighter.SlackBuild')
-rw-r--r-- | games/starfighter/starfighter.SlackBuild | 36 |
1 files changed, 23 insertions, 13 deletions
diff --git a/games/starfighter/starfighter.SlackBuild b/games/starfighter/starfighter.SlackBuild index d8914e70f4..7bb9b55a3a 100644 --- a/games/starfighter/starfighter.SlackBuild +++ b/games/starfighter/starfighter.SlackBuild @@ -1,19 +1,29 @@ #!/bin/sh # Slackware build script for starfighter -# Written by Tim Dickson dickson.tim at googlemail.com +# Copyright 2016-2021 Tim Dickson, Scotland dickson.tim at googlemail.com +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# changelog - -# updated 15/10/2016 for v1.6 -# make file now supports destdir and project comes with desktop file and icon -# so separate one not needed. -# doc location still changed to support slackware prefered location -# updated 05/03/2017 for v1.7 -# updated 22/07/2019 for v2.0 (2.0.0.3) PRGNAM=starfighter -VERSION=${VERSION:-2.0} +VERSION=${VERSION:-2.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -49,7 +59,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION-src -tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz +tar -xvf $CWD/$PRGNAM-$VERSION-src.tar.gz cd $PRGNAM-$VERSION-src chown -R root:root . find -L . \ @@ -58,8 +68,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKFLAGS" -CXXFLAGS="$SLKCFLAGS" +CFLAGS="$SLKFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ |