os/bricks/example.brick

37 lines
464 B
Bash

#!/bin/sh
# example brick
# made by alice
# GPL3 only
# uwu
downloads=(
https://example.com/script.sh
)
info() {
echo this brick does this and that
}
license() {
echo GPL3
}
repo() {
echo https://github.com/example/example.git
}
pkgs() {
# as in pacman -S sh curl
echo sh curl
}
install() {
echo this is a dummy package, it is not meant to actually be installed, silly
return
sh -c "$(cat ${downloads[0]})"
}
uninstall() {
rm -fr ~/.example_pkg
}