1 #!/bin/sh 2 set -e 3 TARGET="${1:-x86_64-unknown-linux-gnu}" 4 VERSION="${2:-31.0.50}" 5 cd .stash/tmp 6 curl -O "https://packy.compiler.company/dist/${TARGET}/pack/emacs.tar.zst" 7 unzstd emacs.tar.zst 8 tar -xvf emacs.tar 9 cd "emacs-${VERSION}" 10 make install