pantry/projects/github.com/zsh-users/zsh-completions/package.yml
andrejrabcenko 793ca61354 new file: projects/github.com/zsh-users/zsh-completions/README.md
new file:   projects/github.com/zsh-users/zsh-completions/package.yml
2023-09-19 14:39:20 -04:00

24 lines
537 B
YAML

distributable:
url: https://github.com/zsh-users/zsh-completions/archive/{{version}}.tar.gz
strip-components: 1
versions:
github: zsh-users/zsh-completions
runtime:
env:
ZSH_COMPLETIONS_ROOT: "{{prefix}}"
dependencies:
zsh.sourceforge.io: '*'
build:
script:
- mkdir -p {{prefix}}/share
- cp -r src/_* {{prefix}}/share/
test:
script:
- run: |
cat << EOF > test.zsh
fpath=($ZSH_COMPLETIONS_ROOT/share $fpath)
autoload _ack
which _ack
EOF
- zsh test.zsh | grep _ack