pantry/projects/github.com/create-dmg/create-dmg/package.yml
2023-04-25 15:23:23 -04:00

26 lines
551 B
YAML

distributable:
url: https://github.com/create-dmg/create-dmg/archive/v{{version}}.tar.gz
strip-components: 1
versions:
github: create-dmg/create-dmg/tags
strip: /^v/
platforms: darwin
provides:
- bin/create-dmg
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: make prefix={{prefix}} install
test: |
create-dmg --version
touch Brew-Eula.txt
echo "Eula" >> Brew-Eula.txt
mkdir -p Test-Source
mkdir -p Test-Source/Brew.app
create-dmg --sandbox-safe --eula Brew-Eula.txt Brew-Test.dmg Test-Source