summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/fortune_firefly/fortune_firefly.SlackBuild23
-rw-r--r--games/fortune_firefly/fortune_firefly.info8
2 files changed, 14 insertions, 17 deletions
diff --git a/games/fortune_firefly/fortune_firefly.SlackBuild b/games/fortune_firefly/fortune_firefly.SlackBuild
index c97d65057e..ad9f15328e 100644
--- a/games/fortune_firefly/fortune_firefly.SlackBuild
+++ b/games/fortune_firefly/fortune_firefly.SlackBuild
@@ -6,13 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# I prefer the underscore in the Slackware package name, so
-# bit of tomfoolery here with SRCNAM.
-# Also, the $#@^#^ upstream tarball doesn't create a top-level directory...
+# 20140825 bkw:
+# - update for 2.1.2, which fixes some typos
+# - hosting the source myself now
+# - homepage went away, so use fedora's cgit for homepage
PRGNAM=fortune_firefly
-SRCNAM=fortune-firefly
-VERSION=${VERSION:-2.1.1}
+SRCNAM=firefly
+VERSION=${VERSION:-2.1.2}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -29,14 +30,10 @@ mkdir -p $PKG $OUTPUT
mkdir -p $PKG/usr/share/games/fortunes
cd $PKG/usr/share/games/fortunes
-tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
-
-# The firefly.dat file in the archive doesn't work with the Slackware
-# version of fortune (not sure if it's bad, or for a different fork
-# of the fortune code, or what). So generate a valid firefly.dat.
-# strfile is part of bsd-games.
-rm -f firefly.dat
-strfile firefly
+xzcat $CWD/$SRCNAM-$VERSION.xz > $SRCNAM
+
+rm -f $SRCNAM.dat
+strfile $SRCNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
diff --git a/games/fortune_firefly/fortune_firefly.info b/games/fortune_firefly/fortune_firefly.info
index f6d49b75ef..eaba43abfd 100644
--- a/games/fortune_firefly/fortune_firefly.info
+++ b/games/fortune_firefly/fortune_firefly.info
@@ -1,8 +1,8 @@
PRGNAM="fortune_firefly"
-VERSION="2.1.1"
-HOMEPAGE="http://www.daughtersoftiresias.org/progs/firefly/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/fortune-firefly-2.1.1.tar.bz2"
-MD5SUM="5fce9b6c951bb73926c5bd9a67892a6a"
+VERSION="2.1.2"
+HOMEPAGE="http://pkgs.fedoraproject.org/cgit/fortune-firefly.git/"
+DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/firefly-2.1.2.xz"
+MD5SUM="68e2c4ec035043ba3a0bab0a2b5f64b8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""