mirror of
https://github.com/Phantop/appdwarf.git
synced 2024-10-31 20:14:27 +00:00
12 lines
326 B
Plaintext
12 lines
326 B
Plaintext
|
#!/bin/sh
|
||
|
APP=$(basename "$0" | sed 's/^mk//')
|
||
|
DIR=/tmp/appdwarf/$APP
|
||
|
mkdir -p "$DIR"
|
||
|
eopkg fc -o "$DIR" signal-desktop
|
||
|
parallel "unzip -op {} install.tar.xz | tar xJf - -C$DIR" ::: "$DIR"/*.eopkg
|
||
|
ln -s usr/share/signal-desktop/signal-desktop "$DIR"/AppRun
|
||
|
rm "$DIR"/*.eopkg
|
||
|
appdwarf "$DIR"
|
||
|
mv "$DIR".sh "$APP"
|
||
|
rm -rf "$DIR"
|