2024-02-13 10:35:36 +01:00
|
|
|
#!/bin/sh
|
|
|
|
# example brick
|
|
|
|
# made by alice
|
|
|
|
# GPL3 only
|
|
|
|
# uwu
|
|
|
|
|
2024-02-14 02:44:10 +01:00
|
|
|
downloads=(
|
|
|
|
https://example.com/script.sh
|
|
|
|
)
|
2024-02-13 10:35:36 +01:00
|
|
|
|
|
|
|
info() {
|
2024-02-14 03:21:28 +01:00
|
|
|
echo a reference example
|
2024-02-13 10:35:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
echo GPL3
|
|
|
|
}
|
|
|
|
|
|
|
|
repo() {
|
|
|
|
echo https://github.com/example/example.git
|
|
|
|
}
|
|
|
|
|
|
|
|
pkgs() {
|
|
|
|
# as in pacman -S sh curl
|
|
|
|
echo sh curl
|
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
2024-02-14 02:44:10 +01:00
|
|
|
echo this is a dummy package, it is not meant to actually be installed, silly
|
|
|
|
return
|
|
|
|
sh -c "$(cat ${downloads[0]})"
|
2024-02-13 10:35:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
uninstall() {
|
|
|
|
rm -fr ~/.example_pkg
|
|
|
|
}
|