Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions share/TEMPLATE.pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,19 @@ build:
./configure $ARGS
make --jobs {{ hw.concurrency }} install
# it’s extremely common for packages to require the above

# script also supports a list of commands, which is useful for complex builds
# or if you want to run a command in a different directory
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
- run: ls -l
working-directory: ${{prefix}}/bin
- run: cat $PROP > foo
working-directory: ${{prefix}}/bin
prop: |
#!/bin/sh
exec ./bar $@
env:
# add any environment variables here
ARGS:
Expand Down