system/xar: Upstream changed the tarball.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-06 01:19:02 -05:00 committed by Willy Sudiarto Raharjo
parent f16da80314
commit 0c59623a06
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 5 deletions

View file

@ -21,6 +21,9 @@
# from. "xar --version" reports "1.8dev", the tarball's version
# number is the SVN revision, 452...
# 20230106 bkw: apple quit hosting their own tarball, old URL is now
# a redirect to a github generated one, script has to change to handle it.
# 20221229 bkw: this is still being developed, code is at
# https://github.com/apple-oss-distributions/xar/ but the latest tag
# (494) won't compile, and I don't love this enough to spend time on
@ -75,9 +78,9 @@ SRCVER="$( echo $VERSION | cut -d+ -f2 )"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
rm -rf $PRGNAM-$PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$PRGNAM-$SRCVER
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+

View file

@ -1,8 +1,8 @@
PRGNAM="xar"
VERSION="1.8dev+452"
HOMEPAGE="https://opensource.apple.com/source/xar/"
DOWNLOAD="https://opensource.apple.com/tarballs/xar/xar-452.tar.gz"
MD5SUM="79e673ca905a16674dae0ce54d7ead5b"
DOWNLOAD="https://github.com/apple-oss-distributions/xar/archive/xar-452/xar-xar-452.tar.gz"
MD5SUM="2dd42db34c7a7050b5e8c58d81d791cf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""