mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
games/fortune-farscape: Added (Farscape quotes for fortune).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b9aff395d3
commit
db42762ccf
4 changed files with 91 additions and 0 deletions
18
games/fortune-farscape/README
Normal file
18
games/fortune-farscape/README
Normal file
|
@ -0,0 +1,18 @@
|
|||
fortune-farscape (Farscape quotes for fortune)
|
||||
|
||||
Farscape is a science-fiction TV series (1999-2004) about an astronaut who
|
||||
ends up on the other side of the galaxy after crashing into a wormhole
|
||||
during the test flight of his space module Farscape-1. Here he joins a
|
||||
group of escaping prisoners on board a living ship.
|
||||
|
||||
This fortune file includes 392 quotes, from seasons 1-4 of the show and
|
||||
the Peacekeeper Wars miniseries. These were taken from:
|
||||
|
||||
https://en.wikiquote.org/wiki/Farscape
|
||||
https://en.wikiquote.org/wiki/Farscape:_The_Peacekeeper_Wars
|
||||
|
||||
...plus a few added by the SlackBuild author.
|
||||
|
||||
After installing, use "fortune farscape" to see a Farscape quote. You
|
||||
can add farscape to the fortune command in bsd-games-login-fortune.sh,
|
||||
to see them on login.
|
44
games/fortune-farscape/fortune-farscape.SlackBuild
Normal file
44
games/fortune-farscape/fortune-farscape.SlackBuild
Normal file
|
@ -0,0 +1,44 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for fortune-farscape
|
||||
|
||||
# Written by B. Watson (yalhcru@gmail.com)
|
||||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# 20191224 bkw: I'm my own upstream on this one. The fortune file was
|
||||
# made by scraping wikiquotes, then hand-massaging the data into the
|
||||
# format fortune(6) wants and fixing a few typos/etc. Also added a
|
||||
# few quotes from episodes that didn't have any quotes on wikiquote,
|
||||
# specifically "Beware of Dog", "Incubator", "I-Yensch, You-Yensch",
|
||||
# "Twice Shy".
|
||||
|
||||
PRGNAM=fortune-farscape
|
||||
VERSION=${VERSION:-20191224}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
ARCH=noarch
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -e
|
||||
|
||||
FDIR=$PKG/usr/share/games/fortunes
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $FDIR $OUTPUT
|
||||
cd $FDIR
|
||||
xzcat $CWD/$PRGNAM-$VERSION.xz > farscape
|
||||
strfile farscape
|
||||
|
||||
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
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
10
games/fortune-farscape/fortune-farscape.info
Normal file
10
games/fortune-farscape/fortune-farscape.info
Normal file
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="fortune-farscape"
|
||||
VERSION="20191224"
|
||||
HOMEPAGE="https://en.wikiquote.org/wiki/Farscape"
|
||||
DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/fortune-farscape-20191224.xz"
|
||||
MD5SUM="9a70ede55e521efa61744ed5c618109d"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="B. Watson"
|
||||
EMAIL="yalhcru@gmail.com"
|
19
games/fortune-farscape/slack-desc
Normal file
19
games/fortune-farscape/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
fortune-farscape: fortune-farscape (Farscape quotes for fortune)
|
||||
fortune-farscape:
|
||||
fortune-farscape: Farscape is a science-fiction TV series (1999-2004) about an astronaut
|
||||
fortune-farscape: who ends up on the other side of the galaxy after crashing into a
|
||||
fortune-farscape: wormhole during the test flight of his space module Farscape-1. Here
|
||||
fortune-farscape: he joins a group of escaping prisoners on board a living ship.
|
||||
fortune-farscape:
|
||||
fortune-farscape:
|
||||
fortune-farscape:
|
||||
fortune-farscape:
|
||||
fortune-farscape:
|
Loading…
Reference in a new issue