games/dreamchess: Updated for version 0.2.1-RC2.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>.
This commit is contained in:
Erik Hanson 2017-07-08 20:03:08 -05:00 committed by Willy Sudiarto Raharjo
parent 1042d93364
commit ccd48fb9bc
2 changed files with 9 additions and 12 deletions

View file

@ -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 \

View file

@ -1,8 +1,8 @@
PRGNAM="dreamchess"
VERSION="0.2.0"
VERSION="0.2.1_RC2"
HOMEPAGE="http://www.dreamchess.org/"
DOWNLOAD="http://sourceforge.net/projects/dreamchess/files/dreamchess/0.2.0/dreamchess-0.2.0.tar.gz"
MD5SUM="0e837e14819c1e7d0232c6beb4d5c185"
DOWNLOAD="https://github.com/dreamchess/dreamchess/releases/download/0.2.1-RC2/dreamchess-0.2.1-RC2.tar.gz"
MD5SUM="afb6d1b81d324dc76238f3607d84af30"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mxml"