diff options
author | B. Watson <yalhcru@gmail.com> | 2021-02-22 14:23:29 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-02-27 08:24:35 +0700 |
commit | fce099744a4bc8dc78379985a7a8ae8893750994 (patch) | |
tree | 8a191bd06dabccff2320e0dfe082101296df685f /games/mednaffe/mednaffe.SlackBuild | |
parent | d8212f763fa7e8deaebf9ce2351ee00c5bac9c34 (diff) |
games/mednaffe: Updated for version 0.9.1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/mednaffe/mednaffe.SlackBuild')
-rw-r--r-- | games/mednaffe/mednaffe.SlackBuild | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/games/mednaffe/mednaffe.SlackBuild b/games/mednaffe/mednaffe.SlackBuild index 21f1dfe683f0..b0063819fb47 100644 --- a/games/mednaffe/mednaffe.SlackBuild +++ b/games/mednaffe/mednaffe.SlackBuild @@ -6,8 +6,11 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210222 bkw: update for v0.9.1. Upstream dropped support for GTK+2, +# so got rid of GTKVER environment variable. + PRGNAM=mednaffe -VERSION=${VERSION:-0.8.8} +VERSION=${VERSION:-0.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -50,19 +53,10 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ -if [ "${GTK3:-no}" = "yes" ]; then - GTKOPT="--enable-gtk3" - GTKVER=3 -else - GTKOPT="--disable-gtk3" - GTKVER=2 -fi - -# --docdir is ignored, have to use nonstandard docsdir in make install. CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - $GTKOPT \ + --docdir="/usr/doc/$PRGNAM-$VERSION" \ --bindir=/usr/games \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -72,13 +66,13 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install-strip DESTDIR=$PKG docsdir="/usr/doc/$PRGNAM-$VERSION" +make install-strip DESTDIR=$PKG # docs already installed, just add this: cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -sed "s,@GTKVER@,$GTKVER," $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG |