pantry/projects/beyondgrep.com/package.yml
Max Howell 3ee665ea28 +ack
2022-12-19 11:48:53 -05:00

25 lines
574 B
YAML

distributable:
url: https://beyondgrep.com/ack-v{{version}}
versions:
github: beyondgrep/ack3/tags
provides:
- bin/ack
dependencies:
perl.org: '*'
build: |
mkdir -p "{{prefix}}/bin"
mv beyondgrep.com-{{version}}* ack
install -m755 ./ack "{{prefix}}/bin"
#TODO generate man page
# ^^ above is weird as our cache system adds a `.[0-9]` extension because the
# download is a text file without extension but the URL itself ends with the
# version number
# 3 ways to fix this, 1. magic file detection, 2. mime-types, 3. explicit yaml
test: |
ack --version