-
-
Save meyer/8350301 to your computer and use it in GitHub Desktop.
Install patched version of XAR 1.6.1. Installs to /usr/local
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Make temp dir | |
LIB_DIR="${TMPDIR%%/}/xar-tmp/" | |
mkdir -p "$LIB_DIR" | |
cd "$LIB_DIR" | |
# Install lzma | |
brew install xz | |
# Download and unpack | |
curl -L "https://github.com/downloads/mackyle/xar/xar-1.6.1.tar.gz" | tar xz | |
cd "xar-1.6.1" | |
# Build | |
./configure | |
make && make install | |
# Probably not necessary | |
rm -r "$LIB_DIR" | |
echo "\nSuccess!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment