mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
26 lines
493 B
YAML
26 lines
493 B
YAML
|
distributable:
|
||
|
url: https://github.com/ap/rename/archive/refs/tags/v{{version.raw}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: ap/rename/tags
|
||
|
|
||
|
dependencies:
|
||
|
perl.org: '>=5'
|
||
|
|
||
|
build:
|
||
|
script: |
|
||
|
pod2man rename rename.1
|
||
|
mkdir -p "{{ prefix }}"/bin
|
||
|
mv rename "{{ prefix }}"/bin
|
||
|
mkdir -p "{{ prefix }}"/share/man/man1
|
||
|
mv rename.1 "{{ prefix }}"/share/man/man1
|
||
|
|
||
|
provides:
|
||
|
- bin/rename
|
||
|
|
||
|
test:
|
||
|
script: |
|
||
|
touch foo.txt
|
||
|
rename -s .txt .md foo.txt
|
||
|
ls foo.md
|