aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-07-07 01:46:51 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-08 16:42:09 +0700
commitd0241d651895a3ae86f43e9d5b3924e6df1dd7c5 (patch)
treed1cf5b7d1e5455b413bfddcdf2d2e0fb29875392 /games
parent2b6d08d59511388f6d97fed32c6e6a38bb4d4d8e (diff)
games/an: Fix download URL.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/an/an.SlackBuild10
-rw-r--r--games/an/an.info4
2 files changed, 7 insertions, 7 deletions
diff --git a/games/an/an.SlackBuild b/games/an/an.SlackBuild
index 54e81423b5f1..f41e6ff2cbc6 100644
--- a/games/an/an.SlackBuild
+++ b/games/an/an.SlackBuild
@@ -6,6 +6,10 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230707 bkw: For some reason, the Debian source switched from .xz
+# to .gz compressions. Contents of the archive are identical, not
+# bumping BUILD.
+
# 20160804 bkw: Updated to 1.2. Apparently 1.2 is a release by the
# maintainer(s) of the Debian an package, not the original author...
# but the old 0.95 was segfaulting when built with gcc5. Also, the
@@ -38,16 +42,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -63,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG/usr/{games,man/man6} $OUTPUT
cd $TMP
rm -rf ${PRGNAM}-${SRCVER}
-tar xvf $CWD/${PRGNAM}_$TARVER.orig.tar.xz
+tar xvf $CWD/${PRGNAM}_$TARVER.orig.tar.gz
cd ${PRGNAM}-$SRCVER
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
diff --git a/games/an/an.info b/games/an/an.info
index c26074f4447f..45115a59c53f 100644
--- a/games/an/an.info
+++ b/games/an/an.info
@@ -1,8 +1,8 @@
PRGNAM="an"
VERSION="1.2"
HOMEPAGE="https://packages.debian.org/sid/an"
-DOWNLOAD="https://deb.debian.org/debian/pool/main/a/an/an_1.2.orig.tar.xz"
-MD5SUM="1f3465bfe2cc4458f75a7a42037b475c"
+DOWNLOAD="https://deb.debian.org/debian/pool/main/a/an/an_1.2.orig.tar.gz"
+MD5SUM="5d28b8003a745f0110ed70f0cd4aa051"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""