mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
projects/plasmasturm.org (#826)
* projects/plasmasturm.org * Fixed version and unused env var --------- Co-authored-by: James Reynolds <magnsuviri@me.com>
This commit is contained in:
parent
9c4e85bcbf
commit
91668ee479
1 changed files with 26 additions and 0 deletions
26
projects/plasmasturm.org/rename/package.yml
Normal file
26
projects/plasmasturm.org/rename/package.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
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
|
Loading…
Reference in a new issue