diff options
author | Nicky Chorley <nick.chorley@gmail.com> | 2011-03-04 08:00:04 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-03-04 08:00:04 -0300 |
commit | 88b541f10e37a311a9c44b8a0314caae104522ea (patch) | |
tree | b4b71e4912770557dcebd088ea6a7c605b4f59fc /games/scid/scid.SlackBuild | |
parent | 3eb225482b6ae15cd98b7f7063dac8a55975155c (diff) |
games/scid: Updated for version 4.2.2 (+ new maintainer).
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games/scid/scid.SlackBuild')
-rw-r--r-- | games/scid/scid.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/games/scid/scid.SlackBuild b/games/scid/scid.SlackBuild index 1705e8b4516ff..66a68056c381d 100644 --- a/games/scid/scid.SlackBuild +++ b/games/scid/scid.SlackBuild @@ -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 \ |