From 650bc309dc9066a03a4e7c7d84ab470d76cd0aab Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 12 Oct 2021 02:38:47 -0400 Subject: [PATCH] games/xu4: Remove template comment, fix URLs. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/xu4/README | 8 +++++--- games/xu4/slack-desc | 6 +++--- games/xu4/xu4.SlackBuild | 10 ++-------- games/xu4/xu4.info | 2 +- 4 files changed, 11 insertions(+), 15 deletions(-) diff --git a/games/xu4/README b/games/xu4/README index 79217a2373..9d3b15967e 100644 --- a/games/xu4/README +++ b/games/xu4/README @@ -1,11 +1,13 @@ -XU4 is a remake of the computer game Ultima IV. The goal is to make +xu4 (Ultima IV remake) + +XU4 is a remake of the computer game Ultima IV. The goal is to make it easy and convenient to play this classic on modern operating systems. XU4 isn't a new game based on the Ultima IV story -- it is a faithful -recreation of the old game, right up to the crappy graphics. If you +recreation of the old game, right up to the crappy graphics. If you are looking for a game with modern gameplay and graphics, this is not -it -- yet. New features that improve the gameplay and keep with the +it -- yet. New features that improve the gameplay and keep with the spirit of the original game will be added. Note for users upgrading from Slackware 14.1 to 14.2: if the game won't diff --git a/games/xu4/slack-desc b/games/xu4/slack-desc index 992d9f91e2..3a8e1dfd4a 100644 --- a/games/xu4/slack-desc +++ b/games/xu4/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| xu4: xu4 (Ultima IV remake) xu4: -xu4: XU4 is a remake of the computer game Ultima IV. The goal is to make +xu4: XU4 is a remake of the computer game Ultima IV. The goal is to make xu4: it easy and convenient to play this classic on modern operating xu4: systems. xu4: xu4: XU4 isn't a new game based on the Ultima IV story -- it is a faithful -xu4: recreation of the old game, right up to the crappy graphics. If you +xu4: recreation of the old game, right up to the crappy graphics. If you xu4: are looking for a game with modern gameplay and graphics, this is not -xu4: it -- yet. New features that improve the gameplay and keep with the +xu4: it -- yet. New features that improve the gameplay and keep with the xu4: spirit of the original game will be added. diff --git a/games/xu4/xu4.SlackBuild b/games/xu4/xu4.SlackBuild index 4a6347643f..32f7cf5b57 100644 --- a/games/xu4/xu4.SlackBuild +++ b/games/xu4/xu4.SlackBuild @@ -22,9 +22,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 @@ -57,11 +54,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # There actually are some executables in the lib dir. If there hadn't # been, I would have left it as /usr/lib even on 64-bit, or better yet diff --git a/games/xu4/xu4.info b/games/xu4/xu4.info index 7c0e1d4661..4678af5b50 100644 --- a/games/xu4/xu4.info +++ b/games/xu4/xu4.info @@ -2,7 +2,7 @@ PRGNAM="xu4" VERSION="20130612_svn" HOMEPAGE="http://xu4.sourceforge.net/" DOWNLOAD="https://slackware.uk/~urchlay/src/xu4-20130612_svn.tar.xz \ - http://www.thatfleminggent.com/ultima/ultima4.zip" + https://web.archive.org/web/20091209235819/http://www.thatfleminggent.com/ultima/ultima4.zip" MD5SUM="a0c013bf91458b2b4c5ad8c729990d62 \ f2006a5dbf175571912ef2594b6eb900" DOWNLOAD_x86_64=""