aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2013-01-13 15:43:09 +0100
committerdsomero <xgizzmo@slackbuilds.org>2013-01-20 09:03:04 -0500
commitdd04513540540de68f763904ef7b310d44564daf (patch)
tree37a38288bb197436159b46decd3a624111010b15
parentf757ebccbd9750755be813c8a1646540ed929fb1 (diff)
games/bsnes: Fixed up some perms in usr/share/bsnes/*.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--games/bsnes/bsnes-v091.patch6
-rw-r--r--games/bsnes/bsnes.SlackBuild2
2 files changed, 4 insertions, 4 deletions
diff --git a/games/bsnes/bsnes-v091.patch b/games/bsnes/bsnes-v091.patch
index 2cf1aa1417667..654fede15fb0c 100644
--- a/games/bsnes/bsnes-v091.patch
+++ b/games/bsnes/bsnes-v091.patch
@@ -58,10 +58,10 @@ diff -crB bsnes_v091-source/bsnes/target-ethos/Makefile bsnes_v091-source-hh/bsn
! # cp data/cheats.xml ~/.config/$(name)/cheats.xml
! # chmod -R 777 ~/.config/$(name)
!
-! install -d -m 644 $(DESTDIR)$(prefix)/share/$(name)/profile
+! install -d -m 755 $(DESTDIR)$(prefix)/share/$(name)/profile
! cp -R profile/* $(DESTDIR)$(prefix)/share/$(name)/profile
-! cp data/cheats.xml $(DESTDIR)$(prefix)/share/$(name)/profile
-! chmod -R 644 $(DESTDIR)$(prefix)/share/$(name)/profile
+! install -m 644 data/cheats.xml $(DESTDIR)$(prefix)/share/$(name)/profile/cheats.xml
+! chmod -R 644 $(DESTDIR)$(prefix)/share/$(name)/profile/*/*
!
endif
diff --git a/games/bsnes/bsnes.SlackBuild b/games/bsnes/bsnes.SlackBuild
index 18dc34ae6c900..a5122465703dc 100644
--- a/games/bsnes/bsnes.SlackBuild
+++ b/games/bsnes/bsnes.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=bsnes
VERSION=${VERSION:-091}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then