summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Erik Hanson <erik@slackbuilds.org>2013-01-13 14:43:09 (GMT)
committer dsomero <xgizzmo@slackbuilds.org>2013-01-20 14:03:04 (GMT)
commitdd04513540540de68f763904ef7b310d44564daf (patch)
tree37a38288bb197436159b46decd3a624111010b15
parentf757ebccbd9750755be813c8a1646540ed929fb1 (diff)
downloadslackbuilds-dd04513540540de68f763904ef7b310d44564daf.tar.gz
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 2cf1aa1..654fede 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 18dc34a..a512246 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