appdwarf/apps/rustsolus

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"