mirror of
https://github.com/Phantop/appdwarf.git
synced 2024-11-01 04:24:23 +00:00
12 lines
334 B
Bash
Executable file
12 lines
334 B
Bash
Executable file
#!/bin/sh
|
|
APP=$(basename "$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"
|