summaryrefslogtreecommitdiffstats
path: root/games/dreamchess/dreamchess.SlackBuild
diff options
context:
space:
mode:
author Erik Hanson <erik@slackbuilds.org>2017-07-08 20:03:08 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-12 22:48:34 +0700
commitccd48fb9bcd49de4d0600a139ba3ff6828171779 (patch)
tree3b281fe67fc67a28cfc1d80375b9313f187a5362 /games/dreamchess/dreamchess.SlackBuild
parent1042d93364a941de47c2d1da43e1bea3d874b6d5 (diff)
downloadslackbuilds-ccd48fb9bcd49de4d0600a139ba3ff6828171779.tar.gz
slackbuilds-ccd48fb9bcd49de4d0600a139ba3ff6828171779.tar.xz
games/dreamchess: Updated for version 0.2.1-RC2.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>.
Diffstat (limited to 'games/dreamchess/dreamchess.SlackBuild')
-rw-r--r--games/dreamchess/dreamchess.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/games/dreamchess/dreamchess.SlackBuild b/games/dreamchess/dreamchess.SlackBuild
index 0473532769..b49420ffa3 100644
--- a/games/dreamchess/dreamchess.SlackBuild
+++ b/games/dreamchess/dreamchess.SlackBuild
@@ -6,8 +6,9 @@
# Maintained by Erik Hanson <erik@slackbuilds.org>
PRGNAM=dreamchess
-VERSION=${VERSION:-0.2.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.2.1_RC2}
+SRCVER=${SRCVER:-0.2.1-RC2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -42,9 +43,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -68,10 +69,6 @@ make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mkdir -p $PKG/usr/share/{applications,pixmaps}
-install -m 0644 desktop/$PRGNAM.desktop $PKG/usr/share/applications/
-install -m 0644 desktop/$PRGNAM.png $PKG/usr/share/pixmaps/
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS ChangeLog COPY* INSTALL NEWS README \