games/scribble: Added (CLI crossword game)

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Gwenhael Le Moine 2011-05-03 22:24:56 -05:00 committed by Robby Workman
parent afde5bcd2d
commit 1b5cffe5a8
4 changed files with 82 additions and 0 deletions

8
games/scribble/README Normal file
View file

@ -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.

View file

@ -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}

View file

@ -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"

19
games/scribble/slack-desc Normal file
View 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 ':'.
|-----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: