summaryrefslogtreecommitdiffstats
path: root/games/manaplus/manaplus.SlackBuild
diff options
context:
space:
mode:
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