aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-02-20 12:57:01 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-21 06:27:17 +0700
commit5f027f1a579e565441c2685ec5f4788e4064aad0 (patch)
treebdae02b45afcbbbf08f6bda8e8d04962b6c93313 /games
parente2356a6b11b388433b2b8520a58ccb0fb3af4876 (diff)
games/openclonk: Updated for version 5.5.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/openclonk/boost.patch (renamed from games/openclonk/CMakeLists_boost.patch)6
-rw-r--r--games/openclonk/openclonk.SlackBuild11
-rw-r--r--games/openclonk/openclonk.info6
3 files changed, 11 insertions, 12 deletions
diff --git a/games/openclonk/CMakeLists_boost.patch b/games/openclonk/boost.patch
index 67ad837d6f9b..e0ab69ba6a82 100644
--- a/games/openclonk/CMakeLists_boost.patch
+++ b/games/openclonk/boost.patch
@@ -1,6 +1,6 @@
---- openclonk-5.4.1-src/CMakeLists.txt.original 2014-03-17 19:40:34.633722226 +0200
-+++ openclonk-5.4.1-src/CMakeLists.txt 2014-03-17 19:41:33.135990847 +0200
-@@ -1425,7 +1425,7 @@
+--- openclonk-5.5.1/CMakeLists.orig 2015-02-20 12:19:12.760304874 +0200
++++ openclonk-5.5.1/CMakeLists.txt 2015-02-20 12:20:39.503220438 +0200
+@@ -1347,7 +1347,7 @@
endif()
if(USE_BOOST_REGEX)
diff --git a/games/openclonk/openclonk.SlackBuild b/games/openclonk/openclonk.SlackBuild
index bcf33241393e..4d76efcd17cf 100644
--- a/games/openclonk/openclonk.SlackBuild
+++ b/games/openclonk/openclonk.SlackBuild
@@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openclonk
-VERSION=${VERSION:-5.4.1}
-SRCVER=$VERSION-src
+VERSION=${VERSION:-5.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$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 \
@@ -70,7 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/CMakeLists_boost.patch
+patch -p1 < $CWD/boost.patch
mkdir -p build
cd build
diff --git a/games/openclonk/openclonk.info b/games/openclonk/openclonk.info
index 2d931d4068a9..bb002fd26745 100644
--- a/games/openclonk/openclonk.info
+++ b/games/openclonk/openclonk.info
@@ -1,8 +1,8 @@
PRGNAM="openclonk"
-VERSION="5.4.1"
+VERSION="5.5.1"
HOMEPAGE="http://www.openclonk.org/"
-DOWNLOAD="http://www.openclonk.org/builds/release/5.4.1/openclonk-5.4.1-src.tar.bz2"
-MD5SUM="551840061314eccfd7ae91e1f689167b"
+DOWNLOAD="https://github.com/openclonk/openclonk/archive/v5.5.1.tar.gz"
+MD5SUM="f6ea741f27327359ad425fc9fcf0cebb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="freealut gtksourceview libupnp gtest"