summaryrefslogtreecommitdiff
path: root/games/playonlinux/playonlinux.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/playonlinux/playonlinux.SlackBuild')
-rw-r--r--games/playonlinux/playonlinux.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/games/playonlinux/playonlinux.SlackBuild b/games/playonlinux/playonlinux.SlackBuild
index 8aa8fe023d..c8c4d176e1 100644
--- a/games/playonlinux/playonlinux.SlackBuild
+++ b/games/playonlinux/playonlinux.SlackBuild
@@ -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