graphics/stltools: Fix github tarball handling.

https://slackbuilds.org/GITHUB_URLs.txt

This avoids having differently named tarballs based on whether the
client respects content disposition headers or not.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2023-12-03 19:05:44 +09:00 committed by Willy Sudiarto Raharjo
parent 4e420f8bba
commit 99da4216da
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 3 additions and 2 deletions

View file

@ -38,11 +38,12 @@ if [ -z "$ARCH" ]; then
esac
fi
TMP=${TMP:-/tmp/SBo}
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

View file

@ -1,7 +1,7 @@
PRGNAM="stltools"
VERSION="2022.01.20"
HOMEPAGE="https://rsmith.home.xs4all.nl/software/stltools.html"
DOWNLOAD="https://github.com/rsmith-nl/stltools/archive/refs/tags/2022.01.20.tar.gz"
DOWNLOAD="https://github.com/rsmith-nl/stltools/archive/2022.01.20/stltools-2022.01.20.tar.gz"
MD5SUM="d67aa58bb5cb50bd5967d146a3df762e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""