From 54cc9e6e1196aa70435ae2147accda135ee6cbc0 Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Wed, 7 Mar 2018 13:30:54 +0000 Subject: games/zsxd: Patched. Signed-off-by: David Spencer --- games/zsxd/share.patch.gz | Bin 0 -> 974 bytes games/zsxd/zsxd.SlackBuild | 31 +++++++------------------------ games/zsxd/zsxd.info | 2 +- 3 files changed, 8 insertions(+), 25 deletions(-) create mode 100644 games/zsxd/share.patch.gz diff --git a/games/zsxd/share.patch.gz b/games/zsxd/share.patch.gz new file mode 100644 index 0000000000..2fe78ce5cd Binary files /dev/null and b/games/zsxd/share.patch.gz differ diff --git a/games/zsxd/zsxd.SlackBuild b/games/zsxd/zsxd.SlackBuild index 5e3b68f6a6..9d59724d8b 100644 --- a/games/zsxd/zsxd.SlackBuild +++ b/games/zsxd/zsxd.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Zelda: Mystery of Solarus XD -# Copyright 2016 Hunter Sezen California, USA +# Copyright 2016, 2018 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=zsxd VERSION=${VERSION:-1.11.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -69,6 +69,10 @@ 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 {} \; +# Install icons and a desktop file. +# https://github.com/solarus-games/zsxd/pull/45 +zcat $CWD/share.patch.gz | patch -p1 + mkdir -p build cd build cmake \ @@ -82,27 +86,6 @@ cd build make install DESTDIR=$PKG cd .. -# Write a desktop file -mkdir -p $PKG/usr/share/applications -cat > $PKG/usr/share/applications/$PRGNAM.desktop < $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/games/zsxd/zsxd.info b/games/zsxd/zsxd.info index 9d971e5b29..3c157a59b0 100644 --- a/games/zsxd/zsxd.info +++ b/games/zsxd/zsxd.info @@ -1,7 +1,7 @@ PRGNAM="zsxd" VERSION="1.11.0" HOMEPAGE="http://www.solarus-games.org/" -DOWNLOAD="https://github.com/christopho/zsxd/archive/zsxd-1.11.0.tar.gz" +DOWNLOAD="https://github.com/christopho/zsxd/archive/zsxd-1.11.0/zsxd-1.11.0.tar.gz" MD5SUM="b48e537872cd03637fb22f4f044eb8ce" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3