mirror of
https://github.com/Phantop/appdwarf.git
synced 2024-11-09 16:36:01 +00:00
12 lines
298 B
Bash
Executable file
12 lines
298 B
Bash
Executable file
#!/bin/sh
|
|
# shellcheck source=../appdwarf
|
|
SOURCE=1 . "$(which appdwarf)"
|
|
APP="$1"
|
|
sudo pacman -Sw --cachedir "$DIR" --noconfirm "$@"
|
|
parallel "tar xf {} -C$DIR" ::: "$DIR"/*.tar.zst
|
|
rm -f "$DIR"/*.tar.zst*
|
|
appb
|
|
sed -i 4s#/lib#/usr/lib#g "$DIR"/AppRun
|
|
sed -i 3,5s#/bin#/usr/bin# "$DIR"/AppRun
|
|
appmk
|