games/fortune_firefly: Updated for version 2.1.2, changed homepage.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
B. Watson 2014-08-26 23:49:17 +02:00 committed by Willy Sudiarto Raharjo
parent 3114a6842f
commit 21890e94b8
2 changed files with 13 additions and 16 deletions

View File

@ -6,13 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# I prefer the underscore in the Slackware package name, so # 20140825 bkw:
# bit of tomfoolery here with SRCNAM. # - update for 2.1.2, which fixes some typos
# Also, the $#@^#^ upstream tarball doesn't create a top-level directory... # - hosting the source myself now
# - homepage went away, so use fedora's cgit for homepage
PRGNAM=fortune_firefly PRGNAM=fortune_firefly
SRCNAM=fortune-firefly SRCNAM=firefly
VERSION=${VERSION:-2.1.1} VERSION=${VERSION:-2.1.2}
ARCH=noarch ARCH=noarch
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -29,14 +30,10 @@ mkdir -p $PKG $OUTPUT
mkdir -p $PKG/usr/share/games/fortunes mkdir -p $PKG/usr/share/games/fortunes
cd $PKG/usr/share/games/fortunes cd $PKG/usr/share/games/fortunes
tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 xzcat $CWD/$SRCNAM-$VERSION.xz > $SRCNAM
# The firefly.dat file in the archive doesn't work with the Slackware rm -f $SRCNAM.dat
# version of fortune (not sure if it's bad, or for a different fork strfile $SRCNAM
# of the fortune code, or what). So generate a valid firefly.dat.
# strfile is part of bsd-games.
rm -f firefly.dat
strfile firefly
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README

View File

@ -1,8 +1,8 @@
PRGNAM="fortune_firefly" PRGNAM="fortune_firefly"
VERSION="2.1.1" VERSION="2.1.2"
HOMEPAGE="http://www.daughtersoftiresias.org/progs/firefly/" HOMEPAGE="http://pkgs.fedoraproject.org/cgit/fortune-firefly.git/"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/fortune-firefly-2.1.1.tar.bz2" DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/firefly-2.1.2.xz"
MD5SUM="5fce9b6c951bb73926c5bd9a67892a6a" MD5SUM="68e2c4ec035043ba3a0bab0a2b5f64b8"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""