summaryrefslogtreecommitdiff
path: root/games/solarus-quest-editor
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-08-28 19:57:29 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-09-02 10:19:44 +0100
commitdbd4e70f6cec0179869eea7d8b846d23b24d8d53 (patch)
tree6e83652bb7f24cd9f813c0cc8b490858994b1343 /games/solarus-quest-editor
parent5b6839cfad8eb72883f9327a9ae86800c72a3dda (diff)
downloadslackbuilds-dbd4e70f6cec0179869eea7d8b846d23b24d8d53.tar.gz
games/solarus-quest-editor: Patched to fix guessing the assets dir.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/solarus-quest-editor')
-rw-r--r--games/solarus-quest-editor/assets.patch.gzbin0 -> 1124 bytes
-rw-r--r--games/solarus-quest-editor/solarus-quest-editor.SlackBuild6
2 files changed, 5 insertions, 1 deletions
diff --git a/games/solarus-quest-editor/assets.patch.gz b/games/solarus-quest-editor/assets.patch.gz
new file mode 100644
index 0000000000..0fc2cc2f58
--- /dev/null
+++ b/games/solarus-quest-editor/assets.patch.gz
Binary files differ
diff --git a/games/solarus-quest-editor/solarus-quest-editor.SlackBuild b/games/solarus-quest-editor/solarus-quest-editor.SlackBuild
index 4e09d86609..2a77ee1c16 100644
--- a/games/solarus-quest-editor/solarus-quest-editor.SlackBuild
+++ b/games/solarus-quest-editor/solarus-quest-editor.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=solarus-quest-editor
VERSION=${VERSION:-1.5.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -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 {} \;
+# Correctly guess the assets directory for installed builds
+# https://github.com/solarus-games/solarus-quest-editor/commit/6bb12e5e6029652e471054b71487ad9777b5d3d7
+zcat $CWD/assets.patch | patch -p1
+
mkdir -p build
cd build
cmake \