mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
github.com/julienXX/terminal-notifier (#2941)
* github.com/julienXX/terminal-notifier * vendored * use prop for ease * why use cat? * sigh * i should just test these locally --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
23560b5c5d
commit
1e022c4c2d
32
projects/github.com/julienXX/terminal-notifier/package.yml
Normal file
32
projects/github.com/julienXX/terminal-notifier/package.yml
Normal file
|
@ -0,0 +1,32 @@
|
|||
distributable:
|
||||
url: https://github.com/julienXX/terminal-notifier/releases/download/{{version}}/terminal-notifier-{{version}}.zip
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: julienXX/terminal-notifier
|
||||
|
||||
platforms:
|
||||
- darwin
|
||||
|
||||
warnings:
|
||||
- vendored
|
||||
|
||||
build:
|
||||
script:
|
||||
- mkdir -p {{prefix}}
|
||||
- cp -a terminal-notifier.app {{prefix}}/
|
||||
- run: |
|
||||
cp $PROP terminal-notifier
|
||||
chmod +x terminal-notifier
|
||||
working-directory: ${{prefix}}/bin
|
||||
prop: |
|
||||
#!/bin/bash
|
||||
|
||||
\$(dirname \$0)/../terminal-notifier.app/Contents/MacOS/terminal-notifier \$*
|
||||
|
||||
provides:
|
||||
- bin/terminal-notifier
|
||||
|
||||
test:
|
||||
script:
|
||||
- terminal-notifier -version | grep {{version}}
|
Loading…
Reference in a new issue