scripts under SBo categorized as in official SBo repo ; SBo-ize scribble script

Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le Moine 2011-03-13 20:54:40 +07:00
parent fea3000dc6
commit 069ed891d1
8 changed files with 84 additions and 0 deletions

11
SBo/games/scribble/README Normal file
View file

@ -0,0 +1,11 @@
scribble (CLI Popular crossword game, similar to Scrabble®)
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.
http://packages.debian.org/unstable/games/scribble

View file

@ -0,0 +1,45 @@
#!/bin/sh -x
CWD=$(pwd)
VERSION=1.11-1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e # Exit on most errors
rm -fr $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
tar xf $CWD/${PRGNAM}_$VERSION.tar.gz
cd $PRGNAM
chown -R root.root *
find . -perm 777 -exec chmod 755 {} \;
make prefix=$PKG/usr mandir=$PKG/usr/man
# 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
makepkg --linkadd y --chown n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz

View file

@ -0,0 +1,9 @@
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"

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 (CLI Popular 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: http://packages.debian.org/unstable/games/scribble