appdwarf/apps/mkpacman

12 lines
255 B
Plaintext
Raw Normal View History

2023-04-20 16:07:43 +00:00
#!/bin/sh
. "$(dirname "$0")"/appmk
part0
APP="$1"
sudo pacman -Sw --cachedir "$DIR" "$@"
2023-04-20 16:07:43 +00:00
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
part9