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>
This commit is contained in:
Andrew Clemons 2023-12-03 21:08:35 +09:00 committed by Willy Sudiarto Raharjo
parent ffb03f68e9
commit 3c2cd8e420
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 2 additions and 3 deletions

View file

@ -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 {} \+

View file

@ -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=""