mirror of
https://github.com/Phantop/appdwarf.git
synced 2024-11-19 13:23:06 +00:00
apps cleanup
This commit is contained in:
parent
4db23e7272
commit
adae9f122c
3
apps/.gitignore
vendored
3
apps/.gitignore
vendored
|
@ -1,3 +0,0 @@
|
|||
*.AppImage
|
||||
*.aria2
|
||||
*.sh
|
|
@ -10,7 +10,6 @@ These scripts are all targeted for using on x86_64 Linux systems with GLIBC.
|
|||
|
||||
Script | Function | Source
|
||||
--- | --- | ---
|
||||
`mkchrome ` | Latest official Chromium build | <https://download-chromium.appspot.com>
|
||||
`mkgo ` | Latest official Go release | <https://go.dev>
|
||||
`mkjava ` | Accepts an argument for Java version and obtains that build from Adoptium | <https://adoptium.net>
|
||||
`mkmp3tag ` | Latest 64-bit Mp3tag release | <https://mp3tag.de/en>
|
||||
|
|
20
apps/mkgo
20
apps/mkgo
|
@ -1,11 +1,11 @@
|
|||
#!/bin/sh
|
||||
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
||||
DIR=/tmp/appdwarf/go
|
||||
mkdir -p $DIR
|
||||
LINK=$(curl -sL https://go.dev/dl | grep -m1 linux | cut -d\" -f4)
|
||||
curl -L https://go.dev/"$LINK" | tar xz -C$DIR/..
|
||||
appdwarf -b $DIR/AppRun
|
||||
sed -i '4i export GOPROXY=direct' $DIR/AppRun
|
||||
appdwarf $DIR "$@"
|
||||
mv $DIR.sh go
|
||||
rm -rf $DIR
|
||||
APP=${0#./mk}
|
||||
DIR=/tmp/appdwarf/$APP
|
||||
mkdir -p "$DIR"
|
||||
LINK=$(curl https://go.dev/dl/ | grep -m1 linux | cut -d\" -f4)
|
||||
curl -L https://go.dev/"$LINK" | tar xz -C"$DIR"/..
|
||||
appdwarf -b "$DIR"/AppRun
|
||||
sed -i '4i export GOPROXY=direct' "$DIR"/AppRun
|
||||
appdwarf "$DIR" "$@"
|
||||
mv "$DIR".sh "$APP"
|
||||
rm -rf "$DIR"
|
||||
|
|
|
@ -5,8 +5,7 @@ mkdir -p "$DIR"
|
|||
LINK=$(curl https://nodejs.org/en/download/current/ | grep -m1 linux | cut -d\" -f4)
|
||||
curl -L "$LINK" | tar xJ -C"$DIR"
|
||||
mv "$DIR"/node*/* "$DIR"
|
||||
strip "$DIR"/bin/node
|
||||
appdwarf -b "$DIR"/AppRun
|
||||
appdwarf "$DIR"
|
||||
mv "$DIR".sh node
|
||||
mv "$DIR".sh "$APP"
|
||||
rm -rf "$DIR"
|
||||
|
|
|
@ -4,11 +4,10 @@ DIR=/tmp/appdwarf/$APP
|
|||
mkdir -p "$DIR"
|
||||
LINK="https://buildbot.pypy.org/nightly/py3.9/pypy-c-jit-latest-linux64.tar.bz2"
|
||||
curl -L "$LINK" | tar xj -C"$DIR"
|
||||
ln -s bin/pypy "$DIR"/AppRun
|
||||
mv "$DIR"/pypy*/* "$DIR"
|
||||
rm "$DIR"/bin/*.debug
|
||||
"$DIR"/AppRun -m ensurepip
|
||||
"$DIR"/AppRun -m pip install pipx
|
||||
"$DIR"/bin/pypy -m ensurepip
|
||||
"$DIR"/bin/pypy -m pip install pipx
|
||||
appdwarf -b "$DIR"/AppRun
|
||||
appdwarf "$DIR"
|
||||
mv "$DIR".sh "$APP"
|
||||
rm -rf "$DIR"
|
||||
|
|
Loading…
Reference in a new issue