summaryrefslogtreecommitdiffstats
path: root/games/solarus-quest-editor
diff options
context:
space:
mode:
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 \