+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>
This commit is contained in:
Kevin Chen 2023-09-16 22:13:48 -04:00 committed by GitHub
parent cef4b03b9c
commit 9fd3515e6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,26 @@
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}}"