mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:07:44 +00:00
Documentation: Update formatting on Ports package.sh example
This commit is contained in:
parent
941a9846a3
commit
68924a8e81
1 changed files with 7 additions and 5 deletions
|
@ -130,14 +130,16 @@ script simply defines some well-known variables and looks like this:
|
|||
|
||||
```bash
|
||||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
|
||||
port="foo"
|
||||
version="1.2.3"
|
||||
useconfigure="true"
|
||||
port='foo'
|
||||
version='1.2.3'
|
||||
useconfigure='true'
|
||||
files=(
|
||||
"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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue