pantry/projects/crates.io/gitweb/package.yml
Kevin Chen 9fd3515e6e
+gitweb -- Open the current remote repository in your browser (#3343)
* +gitweb -- Open the current remote repository in your browser

* openssl dep

* zlib

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-09-16 22:13:48 -04:00

27 lines
511 B
YAML

distributable:
url: https://github.com/yoannfleurydev/gitweb/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/gitweb
versions:
github: yoannfleurydev/gitweb
strip: /v/
dependencies:
openssl.org: ^1.1
zlib.net: ^1
build:
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: '*'
script:
cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(gitweb --version)" = "gitweb {{version}}"