aboutsummaryrefslogtreecommitdiff
path: root/games/hedgewars
diff options
context:
space:
mode:
authorRubén Llorente <porting@use.startmail.com>2017-11-29 21:15:24 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-02 06:31:04 +0700
commita7b1fa7556a1e4360ddfe37611d41b5ae62b602b (patch)
tree0bda61cc482163527b858ab5cbf7d3c2fef9739a /games/hedgewars
parent801a1cb6bb4ce3e05eaab7fa835237a5bef90487 (diff)
games/hedgewars: Updated for version 0.9.23.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/hedgewars')
-rw-r--r--games/hedgewars/doinst.sh3
-rw-r--r--games/hedgewars/hedgewars-multilib.patch11
-rw-r--r--games/hedgewars/hedgewars.SlackBuild8
-rw-r--r--games/hedgewars/hedgewars.info8
4 files changed, 10 insertions, 20 deletions
diff --git a/games/hedgewars/doinst.sh b/games/hedgewars/doinst.sh
new file mode 100644
index 0000000000000..5fb28930db0b9
--- /dev/null
+++ b/games/hedgewars/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/games/hedgewars/hedgewars-multilib.patch b/games/hedgewars/hedgewars-multilib.patch
deleted file mode 100644
index 38ede1f49e5e5..0000000000000
--- a/games/hedgewars/hedgewars-multilib.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- cmake_modules/paths.cmake.orig 2015-01-03 23:11:50.455837007 -0600
-+++ cmake_modules/paths.cmake 2015-01-03 23:14:19.209742864 -0600
-@@ -15,7 +15,7 @@
- #resource paths
- if(UNIX AND NOT APPLE)
- set(target_binary_install_dir "bin" CACHE PATH "install dest for binaries")
-- set(target_library_install_dir "lib" CACHE PATH "install dest for libs")
-+ set(target_library_install_dir "lib${LIB_SUFFIX}" CACHE PATH "install dest for libs")
-
- string(SUBSTRING "${DATA_INSTALL_DIR}" 0 1 sharepath_start)
- if(${sharepath_start} MATCHES "/")
diff --git a/games/hedgewars/hedgewars.SlackBuild b/games/hedgewars/hedgewars.SlackBuild
index fe28bdb1a79d0..1d6ece6596569 100644
--- a/games/hedgewars/hedgewars.SlackBuild
+++ b/games/hedgewars/hedgewars.SlackBuild
@@ -23,10 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hedgewars
-VERSION=${VERSION:-0.9.22}
+VERSION=${VERSION:-0.9.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRC_VERSION=${SRC_VERSION:-0.9.22}
+SRC_VERSION=${SRC_VERSION:-0.9.23}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -70,9 +70,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 {} \;
-# Fix for lib64 (thanks to Fedora)
-patch -p0 < $CWD/hedgewars-multilib.patch
-
mkdir -p build
cd build
cmake \
@@ -101,6 +98,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/hedgewars/hedgewars.info b/games/hedgewars/hedgewars.info
index 32c4aace828b9..edc30d5426d20 100644
--- a/games/hedgewars/hedgewars.info
+++ b/games/hedgewars/hedgewars.info
@@ -1,10 +1,10 @@
PRGNAM="hedgewars"
-VERSION="0.9.22"
+VERSION="0.9.23"
HOMEPAGE="http://www.hedgewars.org"
-DOWNLOAD="https://www.hedgewars.org/download/releases/hedgewars-src-0.9.22.tar.bz2"
-MD5SUM="3718947ea69f57a76a3511678fb8173b"
+DOWNLOAD="https://www.hedgewars.org/download/releases/hedgewars-src-0.9.23.tar.bz2"
+MD5SUM="ab9edd4c3b5d97390bbf6cf23644cb68"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="fpc lua"
+REQUIRES="fpc lua SDL2_image SDL2_net SDL2_ttf SDL2_mixer"
MAINTAINER="Rubén Llorente"
EMAIL="porting@use.startmail.com"