summaryrefslogtreecommitdiff
path: root/games/openmsx-catapult
diff options
context:
space:
mode:
authorErwin van Zanten <e.van.zanten.evz@gmail.com>2014-10-04 23:02:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-04 23:02:08 +0700
commitbe50214999b762ce2e7c582924ce559a000ff486 (patch)
treed17f3ab8cbadf7e8bef18a6b115d45654e4bfeb7 /games/openmsx-catapult
parentedc7eee141e7aee9bd6d7c254549c8837559ef7b (diff)
downloadslackbuilds-be50214999b762ce2e7c582924ce559a000ff486.tar.gz
games/openmsx-catapult: Updated for version 1.10.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/openmsx-catapult')
-rw-r--r--games/openmsx-catapult/openmsx-catapult.SlackBuild41
-rw-r--r--games/openmsx-catapult/openmsx-catapult.info6
2 files changed, 24 insertions, 23 deletions
diff --git a/games/openmsx-catapult/openmsx-catapult.SlackBuild b/games/openmsx-catapult/openmsx-catapult.SlackBuild
index 75b4655277..fe89ac0c14 100644
--- a/games/openmsx-catapult/openmsx-catapult.SlackBuild
+++ b/games/openmsx-catapult/openmsx-catapult.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for OpenMSX-Catapult
-# Copyright 2013 Erwin van Zanten <e.van.zanten.evz@gmail.com>
+# Copyright 2013-2014 Erwin van Zanten, Dordrecht, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,21 +11,19 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Modified by the SlackBuilds.org project
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openmsx-catapult
-VERSION=${VERSION:-0.9.1}
+VERSION=${VERSION:-0.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,25 +54,25 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+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
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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
SYMLINK_FOR_BINARY=false \
+
make
make install INSTALL_BASE=$PKG/opt/openMSX-Catapult
@@ -96,6 +94,9 @@ sed \
desktop/openMSX-Catapult.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README ChangeLog \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/games/openmsx-catapult/openmsx-catapult.info b/games/openmsx-catapult/openmsx-catapult.info
index 5e79d166f9..d1bf93c38e 100644
--- a/games/openmsx-catapult/openmsx-catapult.info
+++ b/games/openmsx-catapult/openmsx-catapult.info
@@ -1,8 +1,8 @@
PRGNAM="openmsx-catapult"
-VERSION="0.9.1"
+VERSION="0.10.1"
HOMEPAGE="http://openmsx.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/openmsx/openmsx-catapult-0.9.1.tar.gz"
-MD5SUM="39741454167994df253a5eda45688fc9"
+DOWNLOAD="http://downloads.sourceforge.net/openmsx/openmsx-catapult-0.10.1.tar.gz"
+MD5SUM="409217b645bb9d0d7ac3314127530231"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="openmsx wxPython"