diff options
author | B. Watson | 2021-09-03 20:23:58 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2021-10-12 19:51:57 +0200 |
commit | 0d7fd097aac74b1cbcece672608140e9c74b963f (patch) | |
tree | df5c9c7469473bdda4a002ce094c09735278b32e /development/love-legacy072/love-legacy072.SlackBuild | |
parent | 5a109fd48ac3b74274bca1eb047604c5aa785363 (diff) | |
download | slackbuilds-0d7fd097aac74b1cbcece672608140e9c74b963f.tar.gz |
development/love-legacy072: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/love-legacy072/love-legacy072.SlackBuild')
-rw-r--r-- | development/love-legacy072/love-legacy072.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/development/love-legacy072/love-legacy072.SlackBuild b/development/love-legacy072/love-legacy072.SlackBuild index 03d26ef7e7..80edad1cbc 100644 --- a/development/love-legacy072/love-legacy072.SlackBuild +++ b/development/love-legacy072/love-legacy072.SlackBuild @@ -6,16 +6,20 @@ # Modified for 0.7.2 legacy version by B. Watson (yalhcru@gmail.com) +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + # If you're packaging up a LÖVE game that needs this version (won't work # with 0.8), make sure the shebang line in the .love file says: # #!/usr/bin/env love-0.7.2 # See notpacman.SlackBuild for an example. +# 20210903 bkw: fix build for current/pre15, BUILD=2 + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=love-legacy072 VERSION=${VERSION:-0.7.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -27,9 +31,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -66,11 +67,10 @@ rm -rf $SRCNAM-$SRCVER tar xvf $CWD/$SRCNAM-$VERSION-linux-src.tar.gz cd $SRCNAM-$SRCVER 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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +patch -p1 < $CWD/newmesafix.diff CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |