summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Andrew Clemons2023-12-03 13:08:35 +0100
committer Willy Sudiarto Raharjo2023-12-09 01:50:08 +0100
commit3c2cd8e4202c202bc07c91279a8059ce963bde11 (patch)
treeb1eb8a852ebb249aaaac9810c2d540c9b0776b5d /games
parentffb03f68e95ce977c341cf1e40d553d3d19d9d11 (diff)
downloadslackbuilds-3c2cd8e4202c202bc07c91279a8059ce963bde11.tar.gz
games/rottexpr: 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>
Diffstat (limited to 'games')
-rw-r--r--games/rottexpr/rottexpr.SlackBuild3
-rw-r--r--games/rottexpr/rottexpr.info2
2 files changed, 2 insertions, 3 deletions
diff --git a/games/rottexpr/rottexpr.SlackBuild b/games/rottexpr/rottexpr.SlackBuild
index 2b77d0d7d4..34f4803cbf 100644
--- a/games/rottexpr/rottexpr.SlackBuild
+++ b/games/rottexpr/rottexpr.SlackBuild
@@ -12,7 +12,6 @@ VERSION=${VERSION:-0.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-TARBALL=${TARBALL:-v${VERSION}.tar.gz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -48,7 +47,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$TARBALL
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
diff --git a/games/rottexpr/rottexpr.info b/games/rottexpr/rottexpr.info
index 92f579fade..4e07d5e358 100644
--- a/games/rottexpr/rottexpr.info
+++ b/games/rottexpr/rottexpr.info
@@ -2,7 +2,7 @@ PRGNAM="rottexpr"
VERSION="0.01"
HOMEPAGE="https://github.com/LTCHIPS/rottexpr"
DOWNLOAD="https://icculus.org/rott/share/1rott13.zip \
- https://github.com/LTCHIPS/rottexpr/archive/refs/tags/v0.01.tar.gz"
+ https://github.com/LTCHIPS/rottexpr/archive/v0.01/rottexpr-0.01.tar.gz"
MD5SUM="0fafd6b629eab80278fc726e31f9cf41 \
5c0bb94c30532fa3450bb58ed1f60350"
DOWNLOAD_x86_64=""