diff options
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 |
commit | ee2a63c509438c9b1b10b5256e6167cdc2a4ec45 (patch) | |
tree | 50031108347fd97a0cb3ba44372d85f1dc960af3 /games | |
parent | bc357bea95c84c0b30c736dc8c8a80faa8feeb82 (diff) |
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')
-rw-r--r-- | games/manaplus/doinst.sh | 11 | ||||
-rw-r--r-- | games/manaplus/manaplus.SlackBuild | 12 | ||||
-rw-r--r-- | games/manaplus/manaplus.info | 10 |
3 files changed, 24 insertions, 9 deletions
diff --git a/games/manaplus/doinst.sh b/games/manaplus/doinst.sh index 5fb28930db0b..d51871bfb1f8 100644 --- a/games/manaplus/doinst.sh +++ b/games/manaplus/doinst.sh @@ -1,3 +1,12 @@ if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 +fi + +# 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 744 $CWD/usr/share/icons/hicolor/scalable/apps/manaplus.svg diff --git a/games/manaplus/manaplus.SlackBuild b/games/manaplus/manaplus.SlackBuild index 5f2d4a2032c7..3e3ce9247d45 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 diff --git a/games/manaplus/manaplus.info b/games/manaplus/manaplus.info index 62f3f2fc64d1..7c9937cea8d4 100644 --- a/games/manaplus/manaplus.info +++ b/games/manaplus/manaplus.info @@ -1,10 +1,10 @@ PRGNAM="manaplus" -VERSION="1.9.3.23" +VERSION="2.1.3.17" HOMEPAGE="http://manaplus.org/" -DOWNLOAD="https://slackware.uk/~urchlay/src/manaplus-1.9.3.23/manaplus.tar.xz" -MD5SUM="abd29dd7a6b8e1321b3b924ad953e040" +DOWNLOAD="http://download.evolonline.org/manaplus/download/2.1.3.17/manaplus-2.1.3.17.tar.xz" +MD5SUM="dad47df3f6c5c9254aacde3f566fdbb3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SDL_gfx" -MAINTAINER="Jefferson Rocha" -EMAIL="root@slackjeff.com.br" +MAINTAINER="slackjeff" +EMAIL="slackjeff@riseup.net" |