summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Ballet <slacker6896@gmail.com>2017-06-10 02:26:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-10 02:26:22 +0700
commit0d9df95317577533666c1feaa658e7e1a00db572 (patch)
tree8eef8f500f19306df3387ab89702b082ca70dd66
parent959f985ade498a7ab310351db1bef3fa0533401a (diff)
downloadslackbuilds-0d9df95317577533666c1feaa658e7e1a00db572.tar.gz
games/iortcw: Updated for version 1.51.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/iortcw/iortcw.SlackBuild20
-rw-r--r--games/iortcw/iortcw.info16
-rw-r--r--games/iortcw/patches/Makefile-MP-1.5a-remove-ref-to-git-index-file.patch15
-rw-r--r--games/iortcw/patches/Makefile-SP-1.5a-remove-ref-to-git-index-file.patch15
4 files changed, 14 insertions, 52 deletions
diff --git a/games/iortcw/iortcw.SlackBuild b/games/iortcw/iortcw.SlackBuild
index 55226a3213..6e3e1db907 100644
--- a/games/iortcw/iortcw.SlackBuild
+++ b/games/iortcw/iortcw.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for iortcw
-# Copyright 2016 S. Ballet, France
+# Copyright 2016-2017 Sébastien Ballet, France
# 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=iortcw
-VERSION=${VERSION:-1.5a}
+VERSION=${VERSION:-1.51}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -147,14 +147,6 @@ 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 {} \;
-# The patches below are required to remove invalid references to ../.git/index
-# found in iortcw Makefiles from 1.5a source tarball.
-#
-# See https://github.com/iortcw/iortcw/issues/24
-#
-patch -p0 < $CWD/patches/Makefile-SP-1.5a-remove-ref-to-git-index-file.patch
-patch -p0 < $CWD/patches/Makefile-MP-1.5a-remove-ref-to-git-index-file.patch
-
# Reminder :
# * targets defined in SP/MP makefiles :
# debug, release, makedirs, clean-debug, clean-release
@@ -284,12 +276,12 @@ cp -a README.md iortcw-command-changes.txt \
iortcw-cvars-new.txt iortcw-cvars-removed.txt rend2-cvars.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
-cp -a SP/COPYING.txt SP/HOWTO-Build.txt SP/NOTTODO SP/README \
- SP/README.txt SP/TODO SP/rend2-readme.md SP/voip-readme.txt \
+cp -a SP/COPYING.txt SP/HOWTO-Build.txt SP/README \
+ SP/README.txt SP/rend2-readme.md SP/voip-readme.txt \
$PKG/usr/doc/$PRGNAM-$VERSION/SP
-cp -a MP/COPYING.txt MP/HOWTO-Build.txt MP/NOTTODO MP/README \
- MP/README.txt MP/TODO MP/rend2-readme.md MP/voip-readme.txt \
+cp -a MP/COPYING.txt MP/HOWTO-Build.txt MP/README \
+ MP/README.txt MP/rend2-readme.md MP/voip-readme.txt \
$PKG/usr/doc/$PRGNAM-$VERSION/MP
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/iortcw/iortcw.info b/games/iortcw/iortcw.info
index 987ff907f2..1e80ff090c 100644
--- a/games/iortcw/iortcw.info
+++ b/games/iortcw/iortcw.info
@@ -1,13 +1,13 @@
PRGNAM="iortcw"
-VERSION="1.5a"
+VERSION="1.51"
HOMEPAGE="https://github.com/iortcw/iortcw"
-DOWNLOAD="https://github.com/iortcw/iortcw/archive/1.5a/iortcw-1.5a.tar.gz \
- https://github.com/iortcw/iortcw/releases/download/1.5a/patch-data-141.zip \
- https://github.com/iortcw/iortcw/releases/download/1.5a/patch-data-SP_deutsch.zip \
- https://github.com/iortcw/iortcw/releases/download/1.5a/patch-data-SP_espanol.zip \
- https://github.com/iortcw/iortcw/releases/download/1.5a/patch-data-SP_francais.zip \
- https://github.com/iortcw/iortcw/releases/download/1.5a/patch-data-SP_italiano.zip"
-MD5SUM="f7c1a383746c71357a9a663faa8d10dc \
+DOWNLOAD="https://github.com/iortcw/iortcw/archive/1.51/iortcw-1.51.tar.gz \
+ https://github.com/iortcw/iortcw/releases/download/1.51/patch-data-141.zip \
+ https://github.com/iortcw/iortcw/releases/download/1.51/patch-data-SP_deutsch.zip \
+ https://github.com/iortcw/iortcw/releases/download/1.51/patch-data-SP_espanol.zip \
+ https://github.com/iortcw/iortcw/releases/download/1.51/patch-data-SP_francais.zip \
+ https://github.com/iortcw/iortcw/releases/download/1.51/patch-data-SP_italiano.zip"
+MD5SUM="052535d2aba4443f668651d1a0ba3772 \
291a37caa9d65d0b81f767918b76fa56 \
c377642e833307c34d7c995c8bf0c35d \
0d9705612393f0bc1875d15870811574 \
diff --git a/games/iortcw/patches/Makefile-MP-1.5a-remove-ref-to-git-index-file.patch b/games/iortcw/patches/Makefile-MP-1.5a-remove-ref-to-git-index-file.patch
deleted file mode 100644
index 10edd4a7c9..0000000000
--- a/games/iortcw/patches/Makefile-MP-1.5a-remove-ref-to-git-index-file.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- MP/Makefile.orig 2016-12-20 16:59:48.565402393 +0100
-+++ MP/Makefile 2016-12-20 17:00:04.089401418 +0100
-@@ -2692,9 +2692,9 @@
- $(DO_DED_CC)
-
- # Extra dependencies to ensure the git version is incorporated
-- $(B)/client/cl_console.o : ../.git/index
-- $(B)/client/common.o : ../.git/index
-- $(B)/ded/common.o : ../.git/index
-+# $(B)/client/cl_console.o : ../.git/index
-+# $(B)/client/common.o : ../.git/index
-+# $(B)/ded/common.o : ../.git/index
-
-
- #############################################################################
diff --git a/games/iortcw/patches/Makefile-SP-1.5a-remove-ref-to-git-index-file.patch b/games/iortcw/patches/Makefile-SP-1.5a-remove-ref-to-git-index-file.patch
deleted file mode 100644
index 5ed201e737..0000000000
--- a/games/iortcw/patches/Makefile-SP-1.5a-remove-ref-to-git-index-file.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- SP/Makefile.orig 2016-12-20 17:00:31.739399680 +0100
-+++ SP/Makefile 2016-12-20 17:01:21.544396550 +0100
-@@ -2658,9 +2658,9 @@
- $(DO_DED_CC)
-
- # Extra dependencies to ensure the git version is incorporated
-- $(B)/client/cl_console.o : ../.git/index
-- $(B)/client/common.o : ../.git/index
-- $(B)/ded/common.o : ../.git/index
-+# $(B)/client/cl_console.o : ../.git/index
-+# $(B)/client/common.o : ../.git/index
-+# $(B)/ded/common.o : ../.git/index
-
-
- #############################################################################