pantry/projects/plasmasturm.org/rename/package.yml
James Reynolds 91668ee479
projects/plasmasturm.org (#826)
* projects/plasmasturm.org
* Fixed version and unused env var

---------

Co-authored-by: James Reynolds <magnsuviri@me.com>
2023-03-21 10:54:05 -04:00

26 lines
No EOL
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