development/love: Updated for version 11.3, new maintainer.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-04-15 19:34:30 -04:00 committed by Willy Sudiarto Raharjo
parent 676df5dc83
commit 67898849d2
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 19 additions and 18 deletions

View file

@ -1 +1,3 @@
love (Lua 2D game development framework)
LOVE is a framework for developing 2D games in Lua. LOVE is a framework for developing 2D games in Lua.

View file

@ -3,9 +3,16 @@
# Slackware build script for LÖVE # Slackware build script for LÖVE
# Written by Dugan Chen (thedoogster [at] gmail [dot] com) # Written by Dugan Chen (thedoogster [at] gmail [dot] com)
# Now maintained by B. Watson <yalhcru@gmail.com>.
# Original version had no license; modified version licensed under the
# WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20200415 bkw:
# - take over maintenance
# - update for v11.3
PRGNAM=love PRGNAM=love
VERSION=${VERSION:-11.1} VERSION=${VERSION:-11.3}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -45,11 +52,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION-linux-src.tar.gz tar xvf $CWD/$PRGNAM-$VERSION-linux-src.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-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 {} \;
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
@ -64,13 +68,8 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make
make install DESTDIR=$PKG make install-strip DESTDIR=$PKG
gzip $PKG/usr/man/man1/$PRGNAM.1
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
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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a changes.txt license.txt readme.md $PKG/usr/doc/$PRGNAM-$VERSION cp -a changes.txt license.txt readme.md $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="love" PRGNAM="love"
VERSION="11.1" VERSION="11.3"
HOMEPAGE="http://love2d.org" HOMEPAGE="http://love2d.org"
DOWNLOAD="https://bitbucket.org/rude/love/downloads/love-11.1-linux-src.tar.gz" DOWNLOAD="https://bitbucket.org/rude/love/downloads/love-11.3-linux-src.tar.gz"
MD5SUM="c8506ec22bc62e491818b81b8eb016aa" MD5SUM="21fb1630b1edfe7b0699bc10abe2d9a0"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="OpenAL SDL2 libmodplug luajit physfs" REQUIRES="OpenAL SDL2 libmodplug luajit physfs"
MAINTAINER="Dugan Chen" MAINTAINER="B. Watson"
EMAIL="thedoogster [at] gmail [dot] com" EMAIL="yalhcru@gmail.com"