1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:17:44 +00:00

Documentation: Update formatting on Ports package.sh example

This commit is contained in:
Justin Brown 2023-08-09 19:23:29 -07:00 committed by Jelle Raaijmakers
parent 941a9846a3
commit 68924a8e81

View file

@ -130,14 +130,16 @@ script simply defines some well-known variables and looks like this:
```bash ```bash
#!/usr/bin/env -S bash ../.port_include.sh #!/usr/bin/env -S bash ../.port_include.sh
port='foo'
port="foo" version='1.2.3'
version="1.2.3" useconfigure='true'
useconfigure="true"
files=( files=(
"https://example.com/foo-${version}.tar.gz 9acd50f9a2af37e471f761c3fe7b8dea5617e51dac802fe6c177b74abf0abb5a" "https://example.com/foo-${version}.tar.gz 9acd50f9a2af37e471f761c3fe7b8dea5617e51dac802fe6c177b74abf0abb5a"
) )
depends=("bar" "baz") depends=(
'bar'
'baz'
)
``` ```
The script in the shebang, [`.port_include.sh`](./.port_include.sh), is where The script in the shebang, [`.port_include.sh`](./.port_include.sh), is where