mirror of
https://github.com/Phantop/appdwarf.git
synced 2025-11-29 16:15:40 +00:00
apps: tmpdir rename, texlive, apps gitignore, improve apprun
This commit is contained in:
parent
83a0c0a3dc
commit
1cdaf416a9
3
AppRun
3
AppRun
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
HERE=$(dirname "$(readlink -f "${0}")")
|
||||
export LD_LIBRARY_PATH="${HERE}":"$LD_LIBRARY_PATH"
|
||||
#export PATH="${HERE}":"${HERE}"/bin:"$PATH"
|
||||
#export LD_LIBRARY_PATH="${HERE}"/lib64:"${HERE}"/lib:"$LD_LIBRARY_PATH"
|
||||
"${HERE}"/"$APPDWARF_CMD" "$@"
|
||||
|
|
|
|||
3
apps/.gitignore
vendored
Normal file
3
apps/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
*.AppImage
|
||||
*.aria2
|
||||
*.sh
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
||||
DIR=/tmp/dwarf-portable-executable
|
||||
DIR=/tmp/appdwarf
|
||||
mkdir -p $DIR
|
||||
LINK=https://download-chromium.appspot.com/dl/Linux_x64
|
||||
curl -L "$LINK" | bsdtar xf - -C$DIR
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
||||
DIR=/tmp/dwarf-portable-executable
|
||||
DIR=/tmp/appdwarf
|
||||
mkdir -p $DIR
|
||||
LINK=$(curl -sL https://golang.org/dl | grep -om1 dl/go.\*linux-amd64.tar.gz)
|
||||
curl -L https://golang.org/"$LINK" | tar xz -C$DIR
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
||||
DIR=/tmp/dwarf-portable-executable/java
|
||||
DIR=/tmp/appdwarf/java
|
||||
JRE=$DIR/jre
|
||||
VER=$1
|
||||
mkdir -p $DIR
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
||||
DIR=/tmp/dwarf-portable-executable
|
||||
DIR=/tmp/appdwarf
|
||||
mkdir -p $DIR
|
||||
BASE=https://nodejs.org/dist/latest
|
||||
LINK="$BASE/$(curl -L $BASE | grep linux-x64.tar.xz | cut -d'"' -f2)"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
||||
DIR=/tmp/dwarf-portable-executable/proton
|
||||
DIR=/tmp/appdwarf/proton
|
||||
mkdir -p $DIR
|
||||
|
||||
LINK="$(curl https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases | grep -om1 http.\*tar.gz)"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
||||
DIR=/tmp/dwarf-portable-executable
|
||||
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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
PATH=$(dirname $(readlink -f "${0}"))/..:$PATH
|
||||
DIR=/tmp/dwarf-portable-executable
|
||||
DIR=/tmp/appdwarf
|
||||
mkdir -p $DIR
|
||||
LINK=https://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
|
||||
curl -L $LINK | tar xz -C$DIR
|
||||
|
|
|
|||
56
apps/mktex
Executable file
56
apps/mktex
Executable file
|
|
@ -0,0 +1,56 @@
|
|||
#!/bin/bash
|
||||
PATH="$(dirname "$(readlink -f "${0}")")/..":"$PATH"
|
||||
DIR=/tmp/appdwarf
|
||||
mkdir -p $DIR
|
||||
LINK=https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
|
||||
curl -L $LINK | tar xz -C$DIR
|
||||
mv $DIR/install-tl-* $DIR/tl
|
||||
|
||||
cat > $DIR/tl/prof << 'EOF'
|
||||
selected_scheme scheme-custom
|
||||
TEXDIR /tmp/appdwarf/tex
|
||||
TEXMFCONFIG $TEXMFSYSCONFIG
|
||||
TEXMFHOME $TEXMFLOCAL
|
||||
TEXMFLOCAL /tmp/appdwarf/tex/texmf-local
|
||||
TEXMFSYSCONFIG /tmp/appdwarf/tex/texmf-config
|
||||
TEXMFSYSVAR /tmp/appdwarf/tex/texmf-var
|
||||
TEXMFVAR $TEXMFSYSVAR
|
||||
binary_x86_64-linux 1
|
||||
collection-basic 1
|
||||
collection-binextra 1
|
||||
collection-latex 1
|
||||
collection-latexrecommended 1
|
||||
instopt_adjustpath 1
|
||||
instopt_adjustrepo 1
|
||||
instopt_letter 0
|
||||
instopt_portable 1
|
||||
instopt_write18_restricted 1
|
||||
tlpdbopt_autobackup 0
|
||||
tlpdbopt_backupdir tlpkg/backups
|
||||
tlpdbopt_create_formats 1
|
||||
tlpdbopt_desktop_integration 1
|
||||
tlpdbopt_file_assocs 1
|
||||
tlpdbopt_generate_updmap 0
|
||||
tlpdbopt_install_docfiles 0
|
||||
tlpdbopt_install_srcfiles 0
|
||||
tlpdbopt_post_code 1
|
||||
tlpdbopt_sys_bin /usr/local/bin
|
||||
tlpdbopt_sys_info /usr/local/share/info
|
||||
tlpdbopt_sys_man /usr/local/share/man
|
||||
tlpdbopt_w32_multi_user 1
|
||||
EOF
|
||||
|
||||
$DIR/tl/install-tl -profile $DIR/tl/prof
|
||||
|
||||
cat > $DIR/tex/AppRun << 'EOF'
|
||||
#!/bin/sh
|
||||
HERE=$(dirname "$(readlink -f "${0}")")
|
||||
export PATH="${HERE}"/bin/x86_64-linux:"$PATH"
|
||||
"${HERE}"/bin/x86_64-linux/"$APPDWARF_CMD" "$@"
|
||||
EOF
|
||||
|
||||
chmod +x $DIR/tex/AppRun
|
||||
|
||||
appdwarf $DIR/tex
|
||||
mv $DIR/tex.sh tex
|
||||
rm -rf $DIR/tex $DIR/tl
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
||||
DIR=/tmp/dwarf-portable-executable/wine
|
||||
DIR=/tmp/appdwarf/wine
|
||||
mkdir -p $DIR
|
||||
|
||||
LINK="$(curl https://api.github.com/repos/Kron4ek/Wine-Builds/releases | grep -om1 http.\*-staging-tkg-amd64.tar.xz)"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
||||
DIR=/tmp/dwarf-portable-executable/rust
|
||||
DIR=/tmp/appdwarf/rust
|
||||
mkdir -p $DIR
|
||||
|
||||
eopkg fc -o $DIR cargo rust
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
ID="$(curl -L https://ungoogled-software.github.io/ungoogled-chromium-binaries | grep -m7 href | tail -n 1 | awk -F'[<>]' '{print $5}')"
|
||||
appdwarf -s -u "https://github.com/clickot/ungoogled-chromium-binaries/releases/download/99.0.4844.51-1.1/ungoogled-chromium_$ID.AppImage"
|
||||
appdwarf -s -u "https://github.com/clickot/ungoogled-chromium-binaries/releases/download/$ID/ungoogled-chromium_$ID.AppImage"
|
||||
|
|
|
|||
Loading…
Reference in a new issue