mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
ffb03f68e9
commit
3c2cd8e420
2 changed files with 2 additions and 3 deletions
|
@ -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 {} \+
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue