games/playonlinux: Updated for version 4.2.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Erwin van Zanten 2014-01-06 21:15:26 +07:00 committed by Erik Hanson
parent 10f3f91b33
commit b27d3c50ba
2 changed files with 11 additions and 11 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for PlayOnLinux
# Copyright 2013 by Erwin van Zanten, Dordrecht, The Netherlands, Europe <e.van.zanten.evz@gmail.com>
# Copyright 2013-2014 by Erwin van Zanten, Dordrecht, The Netherlands, Europe <e.van.zanten.evz@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=playonlinux
VERSION=${VERSION:-4.2.1}
VERSION=${VERSION:-4.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -40,15 +40,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/PlayOnLinux_$VERSION.tar.gz
cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Delete obsolete backup files
find . -name '*~*' -exec rm -rf {} \;
@ -75,7 +75,7 @@ chmod 0755 $PKG/usr/bin/$PRGNAM
# Copy documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
LICENCE CHANGELOG \
LICENCE \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -1,8 +1,8 @@
PRGNAM="playonlinux"
VERSION="4.2.1"
VERSION="4.2.2"
HOMEPAGE="http://www.playonlinux.com/"
DOWNLOAD="http://www.playonlinux.com/script_files/PlayOnLinux/4.2.1/PlayOnLinux_4.2.1.tar.gz"
MD5SUM="62edcdc38b8696ee1c84300583884263"
DOWNLOAD="http://www.playonlinux.com/script_files/PlayOnLinux/4.2.2/PlayOnLinux_4.2.2.tar.gz"
MD5SUM="d038bfcadb2626bcd429746afa984831"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="cabextract wine wxPython icoutils php-imagick p7zip"