diff options
author | B. Watson <yalhcru@gmail.com> | 2020-11-07 09:25:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-11-07 09:25:48 +0700 |
commit | 6aa92e8d4469fa227e25f22068266a74dfc51634 (patch) | |
tree | 001ffa5cc85e3e580884eeb96060218dbc0cfba1 /games | |
parent | 1f1102807266bfc1f53dbbd6a81771d31de1ea8e (diff) |
games/fortune-noobfarm: Added (fortunes from noobfarm.org).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/fortune-noobfarm/README | 13 | ||||
-rw-r--r-- | games/fortune-noobfarm/fortune-noobfarm.SlackBuild | 44 | ||||
-rw-r--r-- | games/fortune-noobfarm/fortune-noobfarm.info | 10 | ||||
-rw-r--r-- | games/fortune-noobfarm/slack-desc | 19 |
4 files changed, 86 insertions, 0 deletions
diff --git a/games/fortune-noobfarm/README b/games/fortune-noobfarm/README new file mode 100644 index 000000000000..29b1013b69af --- /dev/null +++ b/games/fortune-noobfarm/README @@ -0,0 +1,13 @@ +fortune-noobfarm (fortunes from noobfarm.org) + +This is a fortune(6) file of quotes from https://noobfarm.org, +distributed with permission from the site owner. Also included is +a file of quotes that got lost in the transition from the previous +incarnation of noobfarm.org. + +To see a noobfarm fortune after installing the package, run: + fortune noobfarm noobfarm.removed + +To add them to the set of login fortunes, edit +/etc/profile.d/bsd-games-login-fortune.sh and add "noobfarm +noobfarm.removed" on the line with the fortune command. diff --git a/games/fortune-noobfarm/fortune-noobfarm.SlackBuild b/games/fortune-noobfarm/fortune-noobfarm.SlackBuild new file mode 100644 index 000000000000..293e14b5aa3a --- /dev/null +++ b/games/fortune-noobfarm/fortune-noobfarm.SlackBuild @@ -0,0 +1,44 @@ +#!/bin/sh + +# Slackware build script for fortune-noobfarm + +# Written by B. Watson (yalhcru@gmail.com) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +PRGNAM=fortune-noobfarm +VERSION=${VERSION:-20201030} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +SRCNAM=noobfarm + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.xz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +make install DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README $PKG/usr/doc/$PRGNAM-$VERSION +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-noobfarm/fortune-noobfarm.info b/games/fortune-noobfarm/fortune-noobfarm.info new file mode 100644 index 000000000000..36d9d160646b --- /dev/null +++ b/games/fortune-noobfarm/fortune-noobfarm.info @@ -0,0 +1,10 @@ +PRGNAM="fortune-noobfarm" +VERSION="20201030" +HOMEPAGE="https://noobfarm.org" +DOWNLOAD="https://slackware.uk/~urchlay/src/noobfarm-20201030.tar.xz" +MD5SUM="d85d08cb3defaf4b397d4b617e04b0e4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/games/fortune-noobfarm/slack-desc b/games/fortune-noobfarm/slack-desc new file mode 100644 index 000000000000..fa40fdbba314 --- /dev/null +++ b/games/fortune-noobfarm/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-noobfarm: fortune-noobfarm (fortunes from noobfarm.org) +fortune-noobfarm: +fortune-noobfarm: This is a fortune(6) file of quotes from https://noobfarm.org, +fortune-noobfarm: distributed with permission from the site owner. Also included is +fortune-noobfarm: a file of quotes that got lost in the transition from the previous +fortune-noobfarm: incarnation of noobfarm.org. +fortune-noobfarm: +fortune-noobfarm: +fortune-noobfarm: +fortune-noobfarm: +fortune-noobfarm: |