From ee2a63c509438c9b1b10b5256e6167cdc2a4ec45 Mon Sep 17 00:00:00 2001 From: slackjeff Date: Fri, 1 Jul 2022 18:33:07 +0100 Subject: games/manaplus: Updated for version 2.1.3.17. New email. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- games/manaplus/doinst.sh | 11 ++++++++++- games/manaplus/manaplus.SlackBuild | 12 +++++++++--- 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 5fb28930db..d51871bfb1 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 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 +# Copyright 2018 Jefferson Carneiro # 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 62f3f2fc64..7c9937cea8 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" -- cgit v1.2.3