mirror of
https://github.com/Phantop/appdwarf.git
synced 2024-11-20 05:43:43 +00:00
12 lines
327 B
Bash
Executable file
12 lines
327 B
Bash
Executable file
#!/bin/sh
|
|
APP=${0#./}
|
|
DIR=/tmp/appdwarf/$APP
|
|
mkdir -p "$DIR"
|
|
eopkg fc -o "$DIR" cargo rust
|
|
parallel "unzip -op {} install.tar.xz | tar xJf - -C"$DIR"" ::: "$DIR"/*.eopkg
|
|
rm -r "$DIR"/usr/lib64/rustlib/i686-unknown-linux-gnu "$DIR"/*.eopkg
|
|
appdwarf -b "$DIR"/usr/AppRun
|
|
appdwarf "$DIR"/usr
|
|
mv "$DIR"/usr.sh cargo
|
|
rm -rf "$DIR"
|