aboutsummaryrefslogtreecommitdiff
path: root/games/SpaceZero
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-07 13:40:11 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-09 15:45:07 +0700
commitc9052353a9d9a79dbfa96aa84d9869837b5b6cc7 (patch)
tree78e1c5186a8be2ff81e3dacf6a1592e65f23b232 /games/SpaceZero
parentd0d34cc18ff4429e6177c6a4b3ca3042063ce9ff (diff)
games/SpaceZero: Fix doc permissions.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/SpaceZero')
-rw-r--r--games/SpaceZero/SpaceZero.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/SpaceZero/SpaceZero.SlackBuild b/games/SpaceZero/SpaceZero.SlackBuild
index 5304b78f9bc86..4b6a5483d8ebf 100644
--- a/games/SpaceZero/SpaceZero.SlackBuild
+++ b/games/SpaceZero/SpaceZero.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220407 bkw: Modified by SlackBuilds.org, BUILD=3: fix doc permisssions.
+
# 20220231 bkw: Modified by SlackBuilds.org, BUILD=2:
# - strip the binary.
# - binary in /usr/games.
@@ -35,7 +37,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SpaceZero
SRCNAM=spacezero
VERSION=${VERSION:-0.86.00}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -109,6 +111,7 @@ mkdir -p $PKG/usr/share/pixmaps/
install -D -m644 $CWD/$SRCNAM.png $PKG/usr/share/pixmaps/$SRCNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+find html -type f -exec chmod 0644 {} \+
cp -a html/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild