summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-10-15 04:13:31 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-22 08:47:29 +0700
commitb0265adebbedb53bcc248fb57eaef9be8f8f1496 (patch)
tree3d43289d1aac8b6a29dc8d04e6b3f3484f8147d8
parentd40d9c1f5c5cb983aad8c13bae3475e24e0b901b (diff)
downloadslackbuilds-b0265adebbedb53bcc248fb57eaef9be8f8f1496.tar.gz
games/fizmo: Updated for version 0.8.2, docs, /usr/games.
-rw-r--r--games/fizmo/fizmo.SlackBuild14
-rw-r--r--games/fizmo/fizmo.info8
2 files changed, 14 insertions, 8 deletions
diff --git a/games/fizmo/fizmo.SlackBuild b/games/fizmo/fizmo.SlackBuild
index e5a1832c07..765302bc33 100644
--- a/games/fizmo/fizmo.SlackBuild
+++ b/games/fizmo/fizmo.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=fizmo
-VERSION=${VERSION:-0.7.10}
+VERSION=${VERSION:-0.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,12 +53,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# 0.7.7 finds ncursesw correctly now (it used to need a .pc file or
-# configure overrides).
+# the configure script doesn't autodetect when sdl2 is missing,
+# so let's help it out a little.
+pkg-config --exists sdl2 || SDLARG="--disable-sdl"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
+ "$SDLARG" \
+ --bindir=/usr/games \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@@ -69,11 +72,14 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-ln -s $PRGNAM-ncursesw $PKG/usr/bin/$PRGNAM
+ln -s $PRGNAM-ncursesw $PKG/usr/games/$PRGNAM
gzip -9 $PKG/usr/man/man6/*.6
ln -s $PRGNAM-ncursesw.6.gz $PKG/usr/man/man6/$PRGNAM.6.gz
+( cd doc ; ./create-txts.sh )
+rm -f INSTALL.txt QUICKSTART.txt # don't need install instructions
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/fizmo/fizmo.info b/games/fizmo/fizmo.info
index 8ac33b6e1f..e0b3363b8d 100644
--- a/games/fizmo/fizmo.info
+++ b/games/fizmo/fizmo.info
@@ -1,10 +1,10 @@
PRGNAM="fizmo"
-VERSION="0.7.10"
+VERSION="0.8.2"
HOMEPAGE="http://spellbreaker.org/~chrender/fizmo/"
-DOWNLOAD="http://spellbreaker.org/~chrender/fizmo/source/fizmo-0.7.10.tar.gz"
-MD5SUM="accfa9c00289cb4b661826eb6b2e5875"
+DOWNLOAD="https://fizmo.spellbreaker.org/source/fizmo-0.8.2.tar.gz"
+MD5SUM="fd02653925463892612026c25deb1532"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="SDL2"
+REQUIRES=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"