diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2023-12-03 21:08:35 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-09 07:50:08 +0700 |
commit | 3c2cd8e4202c202bc07c91279a8059ce963bde11 (patch) | |
tree | b1eb8a852ebb249aaaac9810c2d540c9b0776b5d /games/rottexpr | |
parent | ffb03f68e95ce977c341cf1e40d553d3d19d9d11 (diff) |
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/rottexpr')
-rw-r--r-- | games/rottexpr/rottexpr.SlackBuild | 3 | ||||
-rw-r--r-- | 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 2b77d0d7d4119..34f4803cbfff3 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 92f579fadef21..4e07d5e358702 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="" |