mirror of
https://github.com/Phantop/appdwarf.git
synced 2024-11-12 18:03:05 +00:00
19 lines
416 B
Bash
Executable file
19 lines
416 B
Bash
Executable file
#!/bin/sh
|
|
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
|
DIR=/tmp/appdwarf
|
|
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
|