mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
games/fortune_firefly: Updated for version 20230828bkw.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f53b71896b
commit
cd4cc5437a
3 changed files with 26 additions and 17 deletions
|
@ -1,6 +1,6 @@
|
|||
fortune_firefly (fortunes from the TV series "Firefly")
|
||||
|
||||
This package contains fortunes from the TV series "Firefly", and it's
|
||||
This package contains fortunes from the TV series "Firefly", and its
|
||||
movie "Serenity", by Joss Whedon. The series survived only one season
|
||||
on Fox; the network scheduled a bad timeslot, played the episodes
|
||||
out of order, and in general helped seal its fate. Nonetheless, the
|
||||
|
|
|
@ -6,6 +6,12 @@
|
|||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# TODO: this build needs to be renamed to fortune-firefly (I used a _
|
||||
# ages ago and have since changed my mind).
|
||||
|
||||
# 20230828 bkw: updated to my own compilation of firefly quotes,
|
||||
# v20230828bkw, which has ~50% more content.
|
||||
|
||||
# 20180209 bkw: homepage went away again, use someone's github mirror
|
||||
# of the now-vanished fedora repo.
|
||||
|
||||
|
@ -17,8 +23,10 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=fortune_firefly
|
||||
SRCNAM=firefly
|
||||
VERSION=${VERSION:-2.1.2}
|
||||
SRCNAM=fortune-firefly-bkw
|
||||
VERSION=${VERSION:-20230828bkw}
|
||||
SRCVER=${VERSION/bkw/}
|
||||
SRCVER="$( echo $VERSION | sed 's,bkw$,,' )"
|
||||
ARCH=noarch
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -36,20 +44,21 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $PKG $OUTPUT
|
||||
mkdir -p $TMP $PKG/install $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $SRCNAM-$SRCVER
|
||||
tar xvf $CWD/$SRCNAM-$SRCVER.tar.xz
|
||||
cd $SRCNAM-$SRCVER
|
||||
chmod 644 *
|
||||
chown root:root *
|
||||
|
||||
mkdir -p $PKG/usr/share/games/fortunes
|
||||
cd $PKG/usr/share/games/fortunes
|
||||
xzcat $CWD/$SRCNAM-$VERSION.xz > $SRCNAM
|
||||
DOCDIR=/usr/doc/$PRGNAM-$VERSION
|
||||
PKGDOC=$PKG/$DOCDIR
|
||||
|
||||
rm -f $SRCNAM.dat
|
||||
strfile $SRCNAM
|
||||
make install DESTDIR=$PKG DOCDIR=$DOCDIR
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="fortune_firefly"
|
||||
VERSION="2.1.2"
|
||||
HOMEPAGE="https://github.com/AndrewReitz/fortune-firefly"
|
||||
DOWNLOAD="https://slackware.uk/~urchlay/src/firefly-2.1.2.xz"
|
||||
MD5SUM="68e2c4ec035043ba3a0bab0a2b5f64b8"
|
||||
VERSION="20230828bkw"
|
||||
HOMEPAGE="https://slackware.uk/~urchlay/src/fortune-firefly-bkw.txt"
|
||||
DOWNLOAD="https://slackware.uk/~urchlay/src/fortune-firefly-bkw-20230828.tar.xz"
|
||||
MD5SUM="59fb3a3326d96cfa8505e39379d79676"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue