mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+cowsay (#6160)
* add cowsay * update * cleanup * fix everything * try install missing perl module for linux * add perl * remove maybe unnecessary test dep * respond to feedback * update dep * style fixes safer to use `{{version.tag}}`, since people aren't the most consistent about keeping or remove `v` from their tags; cpanmin shouldn't be needed at runtime, and the rest is just tweaks * needs perl --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
4f4ea2fbf7
commit
1b479a71cb
28
projects/github.com/cowsay-org/cowsay/package.yml
Normal file
28
projects/github.com/cowsay-org/cowsay/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
distributable:
|
||||
url: https://github.com/cowsay-org/cowsay/archive/refs/tags/{{version.tag}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
display-name: cowsay
|
||||
|
||||
versions:
|
||||
github: cowsay-org/cowsay
|
||||
|
||||
runtime:
|
||||
env:
|
||||
PERL5LIB: "{{prefix}}/lib/perl5:$PERL5LIB"
|
||||
|
||||
dependencies:
|
||||
perl.org: ^5
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
cpanmin.us: '*'
|
||||
script:
|
||||
- run: cpanm -l {{prefix}} File::Find
|
||||
if: linux
|
||||
- make install prefix={{prefix}}
|
||||
|
||||
provides:
|
||||
- bin/cowsay
|
||||
|
||||
test: cowsay "hi"
|
Loading…
Reference in a new issue