From 9fd3515e6e53cbef2143eac8f103591bc6802010 Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Sat, 16 Sep 2023 22:13:48 -0400 Subject: [PATCH] +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 --- projects/crates.io/gitweb/package.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 projects/crates.io/gitweb/package.yml diff --git a/projects/crates.io/gitweb/package.yml b/projects/crates.io/gitweb/package.yml new file mode 100644 index 00000000..d462d72a --- /dev/null +++ b/projects/crates.io/gitweb/package.yml @@ -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}}"