aboutsummaryrefslogtreecommitdiff
path: root/games/tome4
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-07-26 14:47:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-07-26 19:08:07 +0700
commit8a44ac150f59094d095653e43be6f75546cd76c7 (patch)
treeebacdc3029519032045e070cf174be84fc01f7f6 /games/tome4
parentc44cab6bd5efd706b6e5fd698b5a1ed5c51fce7d (diff)
games/tome4: Updated for version 1.2.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/tome4')
-rw-r--r--games/tome4/premake4_sdl.patch11
-rw-r--r--games/tome4/tome4.SlackBuild8
-rw-r--r--games/tome4/tome4.info6
3 files changed, 7 insertions, 18 deletions
diff --git a/games/tome4/premake4_sdl.patch b/games/tome4/premake4_sdl.patch
deleted file mode 100644
index 405523772c577..0000000000000
--- a/games/tome4/premake4_sdl.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- t-engine4-src-1.1.5/premake4.original.lua 2014-04-29 02:40:07.535906248 +0300
-+++ t-engine4-src-1.1.5/premake4.lua 2014-04-29 02:40:46.953413461 +0300
-@@ -17,7 +17,7 @@
- "src/physfs",
- "src/zlib",
- "src/bzip2",
-- "/opt/SDL-2.0/include/SDL2",
-+ "/usr/include/SDL2",
- "/usr/include/GL",
- }
- if _OPTIONS.lua == "default" then includedirs{"src/lua"}
diff --git a/games/tome4/tome4.SlackBuild b/games/tome4/tome4.SlackBuild
index 09d09b26e634c..e18859afad2dd 100644
--- a/games/tome4/tome4.SlackBuild
+++ b/games/tome4/tome4.SlackBuild
@@ -24,8 +24,8 @@
PRGNAM=tome4
SRCNAM=t-engine4-src
-VERSION=${VERSION:-1.1.5}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.2.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,7 +64,7 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
cd $SRCNAM-$VERSION
# extract icons
-unzip -oj -qq game/engines/te4-1.1.5.teae -d icons
+unzip -oj -qq game/engines/te4-1.2.3.teae -d icons
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -73,7 +73,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# correction of SDL2 headers directory
-patch -p1 < $CWD/premake4_sdl.patch
+sed -i "s/opt\/SDL-2.0/usr/" premake4.lua
# build game
premake4 gmake
diff --git a/games/tome4/tome4.info b/games/tome4/tome4.info
index 4f9a6e784b48b..1cf02900348d5 100644
--- a/games/tome4/tome4.info
+++ b/games/tome4/tome4.info
@@ -1,8 +1,8 @@
PRGNAM="tome4"
-VERSION="1.1.5"
+VERSION="1.2.3"
HOMEPAGE="http://te4.org/"
-DOWNLOAD="http://te4.org/dl/t-engine/t-engine4-src-1.1.5.tar.bz2"
-MD5SUM="2015792a28a64748aa6caa20040c94a5"
+DOWNLOAD="http://te4.org/dl/t-engine/t-engine4-src-1.2.3.tar.bz2"
+MD5SUM="7da642d54bf517e0e11714f46f7ce123"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="premake SDL2_image SDL2_ttf OpenAL"