mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
24 lines
574 B
YAML
24 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
|