diff options
author | David Melik <dchmelik@gmail.com> | 2024-09-29 10:28:45 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-29 10:52:06 +0700 |
commit | a640719ee77415e00d3c33e4b8af99ced3c2329e (patch) | |
tree | 98ee70846de3dd6ea68b558110625dc1d3353daf | |
parent | 031ae31d99ca7ec4ce130224084cfd1a51fa934e (diff) |
games/moria: Update source.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | games/moria/doinst.sh | 4 | ||||
-rw-r--r-- | games/moria/moria.SlackBuild | 14 | ||||
-rw-r--r-- | games/moria/moria.info | 6 |
3 files changed, 13 insertions, 11 deletions
diff --git a/games/moria/doinst.sh b/games/moria/doinst.sh index 083f993f55f8..9bddea8390ce 100644 --- a/games/moria/doinst.sh +++ b/games/moria/doinst.sh @@ -11,3 +11,7 @@ config() { config var/games/moria/scores.new config etc/moria-hours.new +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/games/moria/moria.SlackBuild b/games/moria/moria.SlackBuild index 7c0ed937ed12..2326daf40fd0 100644 --- a/games/moria/moria.SlackBuild +++ b/games/moria/moria.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Moria -# Copyright 2013, SlackBuilds.org Project, David Melik, Spokane, WA, USA +# Copyright 2024, SlackBuilds.org Project, David Melik, Spokane, WA, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,6 +29,7 @@ VERSION=${VERSION:-5.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=umoria if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -69,9 +67,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION.debian.1 -tar xvf $CWD/${PRGNAM}_${VERSION}.debian.1.orig.tar.gz -cd $PRGNAM-$VERSION.debian.1 +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/${SRCNAM}-${VERSION}.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -110,7 +108,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - doc source/files/{COPYING,news} README ERRORS INSTALL ChangeLog* \ + doc source/files/{COPYING,news} ChangeLog* INSTALL README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/games/moria/moria.info b/games/moria/moria.info index 33d30a7f205b..7286efc30a57 100644 --- a/games/moria/moria.info +++ b/games/moria/moria.info @@ -1,8 +1,8 @@ PRGNAM="moria" VERSION="5.6" -HOMEPAGE="http://www.remarque.org/~grabiner/moria.html" -DOWNLOAD="http://http.debian.net/debian/pool/main/m/moria/moria_5.6.debian.1.orig.tar.gz" -MD5SUM="67d4396cd4cccac2bf6abff3dc090b6c" +HOMEPAGE="https://web.archive.org/web/20201130032145/http://www.remarque.org/~grabiner/moria.html" +DOWNLOAD="https://github.com/HunterZ/umoria/archive/5.6/umoria-5.6.tar.gz" +MD5SUM="b789d6c3ca2c51d3c7488c9003bd6542" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |