mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 07:47:35 +00:00
Ports: Create launchers for the stpuzzles port
This changes the .port_include.sh script so that ports can more easily create more than one launcher by making the install_launcher function available to the port's package.sh script. This creates launchers for the stpuzzles port in the Games/Puzzles category.
This commit is contained in:
parent
101e4233b8
commit
46de51f467
8 changed files with 35 additions and 20 deletions
|
@ -13,4 +13,8 @@ configure() {
|
|||
|
||||
install() {
|
||||
run make install
|
||||
|
||||
for puzzle in bridges cube dominosa fifteen filling flip flood galaxies guess inertia keen lightup loopy magnets map mines mosaic net netslide palisade pattern pearl pegs range rect samegame signpost singles sixteen slant solo tents towers tracks twiddle undead unequal unruly untangle; do
|
||||
install_launcher "$puzzle" "Games/Puzzles" "/usr/local/bin/$puzzle"
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue