summaryrefslogtreecommitdiffstats
path: root/games/manaplus/manaplus.SlackBuild
diff options
context:
space:
mode:
author slackjeff <slackjeff@riseup.net>2022-07-01 18:33:07 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-02 09:55:33 +0700
commitee2a63c509438c9b1b10b5256e6167cdc2a4ec45 (patch)
tree50031108347fd97a0cb3ba44372d85f1dc960af3 /games/manaplus/manaplus.SlackBuild
parentbc357bea95c84c0b30c736dc8c8a80faa8feeb82 (diff)
downloadslackbuilds-ee2a63c509438c9b1b10b5256e6167cdc2a4ec45.tar.gz
slackbuilds-ee2a63c509438c9b1b10b5256e6167cdc2a4ec45.tar.xz
games/manaplus: Updated for version 2.1.3.17. New email.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/manaplus/manaplus.SlackBuild')
-rw-r--r--games/manaplus/manaplus.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/games/manaplus/manaplus.SlackBuild b/games/manaplus/manaplus.SlackBuild
index 5f2d4a2032..3e3ce9247d 100644
--- a/games/manaplus/manaplus.SlackBuild
+++ b/games/manaplus/manaplus.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
# Slackware build script for manaplus
-# Copyright 2018 Jefferson Rocha <root@slackjeff.com.br>
+# Copyright 2018 Jefferson Carneiro <slackjeff@riseup.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=manaplus
-VERSION=${VERSION:-1.9.3.23}
+VERSION=${VERSION:-2.1.3.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -68,7 +68,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-
-tar xvf $CWD/$PRGNAM.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -99,6 +99,12 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# !!! Fix !!!
+# sbopkglint:
+#--- usr/share/icons should not contain files with executable permission:
+#-rwxr-xr-x 1 root root 8075 Jun 24 14:01 usr/share/icons/hicolor/scalable/apps/manaplus.svg
+chmod 644 $PKG/usr/share/icons/hicolor/scalable/apps/manaplus.svg
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh