summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/oblige/Makefile.unixy16
-rw-r--r--games/oblige/oblige.SlackBuild7
2 files changed, 16 insertions, 7 deletions
diff --git a/games/oblige/Makefile.unixy b/games/oblige/Makefile.unixy
index 60fe072236..9e9480b8e6 100644
--- a/games/oblige/Makefile.unixy
+++ b/games/oblige/Makefile.unixy
@@ -184,16 +184,20 @@ install: stripped
install -o root -m 755 $(PROGRAM) $(INSTALL_PREFIX)/bin/
install -d $(SCRIPT_DIR)/scripts
install -d $(SCRIPT_DIR)/data
+ install -d $(SCRIPT_DIR)/data/doom1_boss
+ install -d $(SCRIPT_DIR)/data/doom2_boss
install -d $(SCRIPT_DIR)/games
install -d $(SCRIPT_DIR)/engines
install -d $(SCRIPT_DIR)/modules
install -d $(SCRIPT_DIR)/prefabs
- install -o root -m 755 scripts/*.lua $(SCRIPT_DIR)/scripts
- install -o root -m 755 data/*.* $(SCRIPT_DIR)/data
- install -o root -m 755 games/*.lua $(SCRIPT_DIR)/games
- install -o root -m 755 engines/*.lua $(SCRIPT_DIR)/engines
- install -o root -m 755 modules/*.lua $(SCRIPT_DIR)/modules
- install -o root -m 755 prefabs/*.lua $(SCRIPT_DIR)/prefabs
+ install -o root -m 644 scripts/*.lua $(SCRIPT_DIR)/scripts
+ install -o root -m 644 data/*.* $(SCRIPT_DIR)/data
+ install -o root -m 644 data/doom1_boss/*.* $(SCRIPT_DIR)/data/doom1_boss
+ install -o root -m 644 data/doom2_boss/*.* $(SCRIPT_DIR)/data/doom2_boss
+ install -o root -m 644 games/*.lua $(SCRIPT_DIR)/games
+ install -o root -m 644 engines/*.lua $(SCRIPT_DIR)/engines
+ install -o root -m 644 modules/*.lua $(SCRIPT_DIR)/modules
+ install -o root -m 644 prefabs/*.lua $(SCRIPT_DIR)/prefabs
uninstall:
rm -v $(INSTALL_PREFIX)/bin/$(PROGRAM)
diff --git a/games/oblige/oblige.SlackBuild b/games/oblige/oblige.SlackBuild
index 515a411447..ea3457df0f 100644
--- a/games/oblige/oblige.SlackBuild
+++ b/games/oblige/oblige.SlackBuild
@@ -6,9 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20140213 bkw: bump BUILD to 2.
+# Makefile.unixy updated so it installs data/doom[12]_boss (thanks to Black
+# Rider for the bug report). Also get rid of +x permissions on the data files
+# in /usr/share.
+
PRGNAM=oblige
VERSION=${VERSION:-4.28b}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then