games/scid: Updated for version 4.2.2 (+ new maintainer).

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Nicky Chorley 2011-03-04 08:00:04 -03:00 committed by Niels Horn
parent 3eb225482b
commit 88b541f10e
3 changed files with 12 additions and 14 deletions

View File

@ -8,16 +8,14 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=scid
VERSION=${VERSION:-3.6.26}
VERSION=${VERSION:-4.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -86,10 +84,10 @@ mv $PKG/usr/share/scid/{bases,books} $PKG/var/games/scid
chown -R root:games $PKG/var/games/scid
find $PKG/var/games/scid -type d -exec chmod 2775 {} \;
find $PKG/var/games/scid -type f -exec chmod 0664 {} \;
( cd $PKG/usr/share/scid
cd $PKG/usr/share/scid
ln -s ../../../var/games/scid/bases .
ln -s ../../../var/games/scid/books .
)
cd -
# Add a desktop menu entry
mkdir -p $PKG/usr/share/{applications,pixmaps}
@ -98,14 +96,14 @@ cat $CWD/scid.png > $PKG/usr/share/pixmaps/scid.png
## Add the manpage (Thanks to debian)
mkdir -p $PKG/usr/man/man1
( cd $PKG/usr/man/man1
cd $PKG/usr/man/man1
sed "s%@VERSION@%$VERSION%g" $CWD/scid.1 | gzip -9c > scid.1.gz
for i in \
sc_remote scmerge pgnscid sc_spell spliteco sc_eco sc_tree scidpgn pgnfix \
tkscid sc_epgn sc_addmove tcscid sc_import scidlet scidt ;
do ln -s scid.1.gz $i.1.gz
done
)
cd -
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \

View File

@ -1,10 +1,10 @@
PRGNAM="scid"
VERSION="3.6.26"
VERSION="4.2.2"
HOMEPAGE="http://scid.sourceforge.net"
DOWNLOAD="http://mirror.lug.udel.edu/pub/fink/distfiles/scid-3.6.26.tar.bz2"
MD5SUM="fdf70539bca21513c33ca6d3d031ec9d"
DOWNLOAD="http://downloads.sourceforge.net/scid/scid-4.2.2.tar.bz2"
MD5SUM="198d8a48f1381e03f4f231f35ae29407"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Marco Pessotto"
EMAIL="melmothx@gmail.com"
APPROVED="rworkman"
MAINTAINER="Nicky Chorley"
EMAIL="nick.chorley@gmail.com"
APPROVED="rworkman,Niels Horn"

View File

@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also customary
# to leave one space after the ':'.
|----hardy-ruler----------------------------------------------------------|
|----handy-ruler-------------------------------------------------------|
scid: scid (A free chess database app)
scid:
scid: With Scid you can maintain a database of chess games, search games by