pantry/projects/rtomayko.github.io/ronn/package.yml

40 lines
763 B
YAML
Raw Normal View History

distributable:
url: https://github.com/rtomayko/ronn/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: rtomayko/ronn/tags
dependencies:
ruby-lang.org: ^3.1
rubygems.org: '*'
build:
dependencies:
rubygems.org: '*'
env:
GEM_HOME: ${{prefix}}
GEM_PATH: ${{prefix}}
script: |
gem build ronn.gemspec
gem install \
--no-user-install \
--bindir={{prefix}}/gems/bin \
--no-document \
ronn-{{version}}.gem
mkdir "{{prefix}}"/bin
mv props/ronn "{{prefix}}"/bin
provides:
- bin/ronn
test:
script: |
ronn --date 1970-01-01 $FIXTURE
fixture: |
simple(7) -- a simple ronn example
==================================
This document is created by ronn.