From 20accc142c5e5792cbfbfaff0f271fb12858677f Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Sat, 26 Aug 2023 18:28:56 -0400 Subject: [PATCH] +himalaya -- CLI for your emails --- projects/pimalaya.org/himalaya/package.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/pimalaya.org/himalaya/package.yml diff --git a/projects/pimalaya.org/himalaya/package.yml b/projects/pimalaya.org/himalaya/package.yml new file mode 100644 index 00000000..e2a0a6b6 --- /dev/null +++ b/projects/pimalaya.org/himalaya/package.yml @@ -0,0 +1,21 @@ +distributable: + url: https://github.com/soywod/himalaya/archive/refs/tags/v{{ version }}.tar.gz + strip-components: 1 + +provides: + - bin/himalaya + +versions: + github: soywod/himalaya + strip: /v/ + +build: + dependencies: + rust-lang.org: '>=1.65' + rust-lang.org/cargo: '*' + script: + cargo install --path . --root {{prefix}} + +test: + script: + - test "$(himalaya --version)" = "himalaya {{version}}"