summaryrefslogtreecommitdiff
path: root/games/dreamchess/dreamchess.SlackBuild
diff options
context:
space:
mode:
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 \