appdwarf/apps/mkeopkg

12 lines
256 B
Plaintext
Raw Normal View History

#!/bin/sh
2022-10-18 14:09:41 +00:00
. "$(dirname "$0")"/appmk
part0
eopkg fc -o "$DIR" "$@"
parallel "unzip -op {} install.tar.xz | tar xJf - -C$DIR" ::: "$DIR"/*.eopkg
rm "$DIR"/*.eopkg
2022-10-18 14:09:41 +00:00
appb
sed -i 2,4s#/bin#/usr/bin# "$DIR"/AppRun
appdwarf "$DIR"
2022-09-25 19:15:45 +00:00
mv "$DIR".sh "$1"
rm -rf "$DIR"