aboutsummaryrefslogtreecommitdiff
path: root/system/xar/xar.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-06 01:19:02 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:49 +0700
commit0c59623a06a72252c4ff097a2318dab4d890e432 (patch)
treeae57658e94100a1aef5eea260c7da22817d31e5f /system/xar/xar.SlackBuild
parentf16da80314a3be6ccdb44ffc1c4561438d4d5a50 (diff)
system/xar: Upstream changed the tarball.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/xar/xar.SlackBuild')
-rw-r--r--system/xar/xar.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/system/xar/xar.SlackBuild b/system/xar/xar.SlackBuild
index ea3c626644af0..e8f80a88a2298 100644
--- a/system/xar/xar.SlackBuild
+++ b/system/xar/xar.SlackBuild
@@ -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 {} \+