mirror of
https://github.com/Phantop/appdwarf.git
synced 2024-11-10 00:46:30 +00:00
19 lines
435 B
Bash
Executable file
19 lines
435 B
Bash
Executable file
#!/bin/bash
|
|
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
|
DIR=/tmp/dwarf-portable-executable
|
|
mkdir -p $DIR
|
|
LINK="https://buildbot.pypy.org/nightly/py3.9/pypy-c-jit-latest-linux64.tar.bz2"
|
|
curl -L "$LINK" | tar xfj - -C$DIR
|
|
|
|
mv $DIR/pypy* $DIR/pypy
|
|
ln -s bin/pypy $DIR/pypy/AppRun
|
|
|
|
rm $DIR/pypy/bin/*.debug
|
|
|
|
$DIR/pypy/AppRun -m ensurepip
|
|
$DIR/pypy/AppRun -m pip install pipx
|
|
|
|
appdwarf $DIR/pypy
|
|
mv $DIR/pypy.sh pypy
|
|
rm -rf $DIR/pypy
|