diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-06-03 23:39:01 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-04 09:38:25 +0200 |
commit | 46de51f467256ca7e030a4a40deed4589f50cc60 (patch) | |
tree | d151e3d27ac97b774547d96650bf6040820504dd /Ports/stpuzzles | |
parent | 101e4233b8ac27ecfc38bd41c3e5a063b4563fcd (diff) | |
download | serenity-46de51f467256ca7e030a4a40deed4589f50cc60.zip |
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.
Diffstat (limited to 'Ports/stpuzzles')
-rwxr-xr-x | Ports/stpuzzles/package.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Ports/stpuzzles/package.sh b/Ports/stpuzzles/package.sh index b30b02dfa7..11b9a537ae 100755 --- a/Ports/stpuzzles/package.sh +++ b/Ports/stpuzzles/package.sh @@ -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 } |