diff options
author | Gwenhael Le Moine <gwenhael.le.moine@gmail.com> | 2011-05-03 22:24:56 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-05-03 22:24:56 -0500 |
commit | 1b5cffe5a871f6d1dda2c57e90054b759e35a204 (patch) | |
tree | 593fb240f489f15ece4482b61e0deb892058f609 /games/scribble | |
parent | afde5bcd2d0b1d07109470fd68b37e9a4e11ccf1 (diff) |
games/scribble: Added (CLI crossword game)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/scribble')
-rw-r--r-- | games/scribble/README | 8 | ||||
-rw-r--r-- | games/scribble/scribble.SlackBuild | 45 | ||||
-rw-r--r-- | games/scribble/scribble.info | 10 | ||||
-rw-r--r-- | games/scribble/slack-desc | 19 |
4 files changed, 82 insertions, 0 deletions
diff --git a/games/scribble/README b/games/scribble/README new file mode 100644 index 000000000000..cfc2f4277c61 --- /dev/null +++ b/games/scribble/README @@ -0,0 +1,8 @@ +Scribble is a hybrid of crossword mentality, positional strategy, and +a true test of your language mastery, similar to the game Scrabble® +by Hasbro. You start with a board that serves for the placement for +letter tiles. On the board there are specific squares that when used +can add to your score dramatically. These premium squares can double +or triple letter values. Some of these squares can even double or +triple your word scores! You must position yourself to grab the +squares and block your opponent from spelling out a "killer" word. diff --git a/games/scribble/scribble.SlackBuild b/games/scribble/scribble.SlackBuild new file mode 100644 index 000000000000..725baa36a244 --- /dev/null +++ b/games/scribble/scribble.SlackBuild @@ -0,0 +1,45 @@ +#!/bin/sh + +# Maintained by Gwenhael Le Moine <gwenhael.le.moine@gmail.com> + +PRGNAM=scribble +VERSION=1.11_1 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +SRCVERS=$(printf $VERSION | tr _ -) + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e # Exit on most errors + +rm -rf $TMP/$PRGNAM $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +tar xf $CWD/${PRGNAM}_$SRCVERS.tar.gz +cd $PRGNAM +chown -R root.root * +find . -perm 777 -exec chmod 755 {} \; + +make prefix=$PKG/usr mandir=$PKG/usr/man +gzip -9 $PKG/usr/man/man6/scribble.6 + +# Racket also has a 'scribble' binary in /usr/bin +# Scribble's scribble is in /usr/games but Racket's steal its place in $PATH +( cd $PKG/usr/games/ ; ln -s scribble scribble-scrabble ) +( cd $PKG/usr/man/man6/ ; ln -s scribble.6.gz scribble-scrabble.6.gz ) + +chmod -R o-w $PKG +chown -R root:root $PKG + +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/scribble/scribble.info b/games/scribble/scribble.info new file mode 100644 index 000000000000..8a09e4eab92b --- /dev/null +++ b/games/scribble/scribble.info @@ -0,0 +1,10 @@ +PRGNAM="scribble" +VERSION="1.11_1" +HOMEPAGE="http://packages.debian.org/unstable/games/scribble" +DOWNLOAD="http://ftp.de.debian.org/debian/pool/main/s/scribble/scribble_1.11-1.tar.gz" +MD5SUM="73d958bc2d28708c1a5acc15f8e27b94" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Gwenhael Le Moine" +EMAIL="gwenhael.le.moine@gmail.com" +APPROVED="rworkman" diff --git a/games/scribble/slack-desc b/games/scribble/slack-desc new file mode 100644 index 000000000000..3f024cffac1b --- /dev/null +++ b/games/scribble/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------------------------------------------------------| +scribble: scribble (Popular CLI crossword game, similar to Scrabble®) +scribble: +scribble: Scribble is a hybrid of crossword mentality, positional strategy, and +scribble: a true test of your language mastery, similar to the game Scrabble® +scribble: by Hasbro. You start with a board that serves for the placement for +scribble: letter tiles. On the board there are specific squares that when used +scribble: can add to your score dramatically. These premium squares can double +scribble: or triple letter values. Some of these squares can even double or +scribble: triple your word scores! You must position yourself to grab the +scribble: squares and block your opponent from spelling out a "killer" word. +scribble: |