summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-12 23:29:19 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 23:29:19 +0200
commit9f9644816b7141ee746b32f230666ed545f8059e (patch)
tree5472067f982aae2d171f56e1faafe760b2295200
parenta9e3b54f5f88271deaf586a1a736955a3bb33dde (diff)
downloadslackbuilds-9f9644816b7141ee746b32f230666ed545f8059e.tar.gz
games/fortune_firefly: Added to 12.2 repository
-rw-r--r--games/fortune_firefly/README26
-rw-r--r--games/fortune_firefly/fortune_firefly.SlackBuild55
-rw-r--r--games/fortune_firefly/fortune_firefly.info8
-rw-r--r--games/fortune_firefly/slack-desc19
4 files changed, 108 insertions, 0 deletions
diff --git a/games/fortune_firefly/README b/games/fortune_firefly/README
new file mode 100644
index 0000000000..16778ec78d
--- /dev/null
+++ b/games/fortune_firefly/README
@@ -0,0 +1,26 @@
+This package contains fortunes from the TV series "Firefly", and it's 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 series built up a
+cult following; as DVD sales skyrocketted, Universal decided to sponsor
+a movie based on the series.
+
+Firefly is often described as a "Space Western". A mix of humor and
+seriousness, it is sometimes described as "Star Wars" with the Rebellion
+having been brutally crushed and Han Solo needing a new job. Over 500
+years in the future, a band of humans terraformed a nearby planetary system
+with dozens of habitable planets. The most developed planets, toward
+the core, live in "civilization", and formed the Alliance; the planets
+on the rim tend to struggle to survive, and launched a failed rebellion
+against Alliance rule. Captain Malcolm Reynolds, a former "browncoat"
+(rebel) commander, captains a Firefly-class starship named "Serenity",
+with a small, mostly loyal crew, taking whatever jobs (legal or otherwise)
+that they can. Their lives become more complicated when, after taking on
+passengers for cover, they inadvertently take in a mentally disturbed girl
+who the Alliance wants more than anything else.
+
+All of the quotes in this package are copyrighted by Fox Broadcasting
+Corporation and Universal Pictures. Authorship of the quotes is by Tim
+Minear, Joss Whedon, Ben Edulund, Jane Esperson, Drew Z. Greenberg, Jose
+Molina, Cheryl Cain, and Brent Matthews.
+
diff --git a/games/fortune_firefly/fortune_firefly.SlackBuild b/games/fortune_firefly/fortune_firefly.SlackBuild
new file mode 100644
index 0000000000..1eb37130a2
--- /dev/null
+++ b/games/fortune_firefly/fortune_firefly.SlackBuild
@@ -0,0 +1,55 @@
+#!/bin/sh
+
+# Slackware build script for fortune_firefly
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+
+# 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...
+
+PRGNAM=fortune_firefly
+SRCNAM=fortune-firefly
+VERSION=${VERSION:-2.1.1}
+ARCH=noarch
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG $TMP/$SRCNAM
+mkdir -p $TMP/$SRCNAM $PKG $OUTPUT
+cd $TMP/$SRCNAM
+tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+mkdir -p $PKG/usr/share/games/fortunes
+cp firefly $PKG/usr/share/games/fortunes
+
+# 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.
+
+( cd $PKG/usr/share/games/fortunes && strfile firefly )
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp $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.tgz
diff --git a/games/fortune_firefly/fortune_firefly.info b/games/fortune_firefly/fortune_firefly.info
new file mode 100644
index 0000000000..c2b2830fff
--- /dev/null
+++ b/games/fortune_firefly/fortune_firefly.info
@@ -0,0 +1,8 @@
+PRGNAM="fortune_firefly"
+VERSION="2.1.1"
+HOMEPAGE="http://www.daughtersoftiresias.org/progs/firefly/"
+DOWNLOAD="http://www.daughtersoftiresias.org/progs/firefly/fortune-firefly-2.1.1.tar.bz2"
+MD5SUM="5fce9b6c951bb73926c5bd9a67892a6a"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
+APPROVED="dsomero"
diff --git a/games/fortune_firefly/slack-desc b/games/fortune_firefly/slack-desc
new file mode 100644
index 0000000000..c321380471
--- /dev/null
+++ b/games/fortune_firefly/slack-desc
@@ -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 ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+fortune_firefly: fortune_firefly (fortunes from the TV series "Firefly")
+fortune_firefly:
+fortune_firefly: This package contains fortunes from the TV series "Firefly", and
+fortune_firefly: its movie "Serenity", by Joss Whedon. The series survived only
+fortune_firefly: one season on Fox; the network scheduled a bad timeslot, played
+fortune_firefly: the episodes out of order, and in general helped seal its fate.
+fortune_firefly: Nonetheless, the series built up a cult following; as DVD sales
+fortune_firefly: skyrocketted, Universal decided to sponsor a movie based on the
+fortune_firefly: series.
+fortune_firefly:
+fortune_firefly: