diff options
author | B. Watson <yalhcru@gmail.com> | 2014-02-14 13:34:02 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-02-15 16:50:13 +0700 |
commit | 0a57cdcdb068065215f2317a619ba09c3a03367d (patch) | |
tree | e442d49526437786c57edffd2bda173dd5f289d3 /games | |
parent | 71a475d1a4abbd7b074c72b7b9360cfaefb01ec9 (diff) | |
download | slackbuilds-0a57cdcdb068065215f2317a619ba09c3a03367d.tar.gz |
games/oblige: Fix permission and install boss fight data.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/oblige/Makefile.unixy | 16 | ||||
-rw-r--r-- | games/oblige/oblige.SlackBuild | 7 |
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 |