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