pantry/projects/rtomayko.github.io/ronn/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

39 lines
763 B
YAML

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.