mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:07:34 +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
|
```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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue