From 33b5f0a37d91cda35d8916733c8155a9c9e7234d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 30 Mar 2015 22:17:32 +0700 Subject: games/fortune-futurama: Added (Futurama quotes for fortune). Signed-off-by: Willy Sudiarto Raharjo --- games/fortune-futurama/README | 9 ++++ games/fortune-futurama/fortune-futurama.SlackBuild | 55 ++++++++++++++++++++++ games/fortune-futurama/fortune-futurama.info | 10 ++++ games/fortune-futurama/slack-desc | 19 ++++++++ 4 files changed, 93 insertions(+) create mode 100644 games/fortune-futurama/README create mode 100644 games/fortune-futurama/fortune-futurama.SlackBuild create mode 100644 games/fortune-futurama/fortune-futurama.info create mode 100644 games/fortune-futurama/slack-desc (limited to 'games/fortune-futurama') diff --git a/games/fortune-futurama/README b/games/fortune-futurama/README new file mode 100644 index 0000000000..1f0deb7e33 --- /dev/null +++ b/games/fortune-futurama/README @@ -0,0 +1,9 @@ +fortune-futurama (Futurama quotes for fortune) + +fortune-futurama is a compilation of quotes from the Fox TV Series +"Futurama" by Matt Groening. The quotes have been compiled from various +sources on the Web. + +After installing, use "fortune futurama" to see a Futurama quote. You +can add futurama to the fortune command in bsd-games-login-fortune.sh, +to see them on login. diff --git a/games/fortune-futurama/fortune-futurama.SlackBuild b/games/fortune-futurama/fortune-futurama.SlackBuild new file mode 100644 index 0000000000..823c848e32 --- /dev/null +++ b/games/fortune-futurama/fortune-futurama.SlackBuild @@ -0,0 +1,55 @@ +#!/bin/sh + +# Slackware build script for fortune-futurama + +# Written by B. Watson (yalhcru@gmail.com) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ +# for details. + +PRGNAM=fortune-futurama +VERSION=${VERSION:-0.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +SRCNAM=${PRGNAM/-/-mod-} +FILENAME=$( echo $PRGNAM | cut -d- -f2 ) + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 +cd $SRCNAM-$VERSION + +# permissions worse than usual +chown root:root * +chmod 644 * + +OUTDIR=$PKG/usr/share/games/fortunes +mkdir -p $OUTDIR +cat $FILENAME > $OUTDIR/$FILENAME + +# rebuild the .dat file instead of using upstream's +( cd $OUTDIR ; strfile $FILENAME ) + +# upstream's README is 2 lines of install instructions, not real +# useful. Include ours, which explains how to use this. +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} diff --git a/games/fortune-futurama/fortune-futurama.info b/games/fortune-futurama/fortune-futurama.info new file mode 100644 index 0000000000..e8f8ae3703 --- /dev/null +++ b/games/fortune-futurama/fortune-futurama.info @@ -0,0 +1,10 @@ +PRGNAM="fortune-futurama" +VERSION="0.2" +HOMEPAGE="http://www.freshports.org/misc/fortune-mod-futurama/" +DOWNLOAD="https://www.netmeister.org/apps/fortune-mod-futurama-0.2.tar.bz2" +DOWNLOAD_x86_64="" +MD5SUM="be8388731c711368d3f59f13eb5088d9" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/games/fortune-futurama/slack-desc b/games/fortune-futurama/slack-desc new file mode 100644 index 0000000000..d4362503f8 --- /dev/null +++ b/games/fortune-futurama/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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +fortune-futurama: fortune-futurama (Futurama quotes for fortune) +fortune-futurama: +fortune-futurama: fortune-futurama is a compilation of quotes from the Fox TV Series +fortune-futurama: "Futurama" by Matt Groening. The quotes have been compiled from +fortune-futurama: various sources on the Web. +fortune-futurama: +fortune-futurama: +fortune-futurama: +fortune-futurama: +fortune-futurama: +fortune-futurama: -- cgit v1.2.3-65-gdbad