games/fizmo: Updated for version 0.8.2, docs, /usr/games.

This commit is contained in:
B. Watson 2016-10-15 04:13:31 -04:00 committed by Willy Sudiarto Raharjo
parent d40d9c1f5c
commit b0265adebb
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 14 additions and 8 deletions

View file

@ -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

View file

@ -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"