mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
games/oblige: Fix permission and install boss fight data.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
71a475d1a4
commit
0a57cdcdb0
2 changed files with 16 additions and 7 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue