From 3c2cd8e4202c202bc07c91279a8059ce963bde11 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 3 Dec 2023 21:08:35 +0900 Subject: [PATCH] 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 Signed-off-by: Willy Sudiarto Raharjo --- games/rottexpr/rottexpr.SlackBuild | 3 +-- games/rottexpr/rottexpr.info | 2 +- 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=""