From 315fd85921aa71339286506655dc70278f2b0939 Mon Sep 17 00:00:00 2001 From: zenobit Date: Sun, 16 Apr 2023 07:09:10 +0200 Subject: [PATCH 1/2] New package: lazycli-0.1.15 --- srcpkgs/lazycli/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/lazycli/template diff --git a/srcpkgs/lazycli/template b/srcpkgs/lazycli/template new file mode 100644 index 0000000000000..c9dc32716e771 --- /dev/null +++ b/srcpkgs/lazycli/template @@ -0,0 +1,25 @@ +# Template file for 'lazycli' +pkgname=lazycli +version=0.1.15 +revision=1 +build_style=cargo +configure_args="RUST_BACKTRACE=1" +make_install_args="CONFIG_DIR_ENV_VAR=/usr/share/lazycli" +short_desc="Turn static CLI commands into TUIs with ease" +maintainer="zenobit " +license="MIT" +homepage="https://github.com/jesseduffield/lazycli" +distfiles="https://github.com/jesseduffield/lazycli/archive/refs/tags/v${version}.tar.gz" +checksum=66f4c4c5bedf4d3ceb35aebc1d7f18663c7250ac47241fea18108c0741bf2019 + +do_build() { + cargo build --release +} + +do_install() { + vbin target/release/lazycli +} + +post_install() { + vlicense LICENSE +} From 312274dab954cc262e269b24e5106f138df5ddad Mon Sep 17 00:00:00 2001 From: zenobit Date: Tue, 10 Oct 2023 17:48:42 +0200 Subject: [PATCH 2/2] test --- srcpkgs/lazycli/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/lazycli/template b/srcpkgs/lazycli/template index c9dc32716e771..979c8354e3b0c 100644 --- a/srcpkgs/lazycli/template +++ b/srcpkgs/lazycli/template @@ -13,7 +13,8 @@ distfiles="https://github.com/jesseduffield/lazycli/archive/refs/tags/v${version checksum=66f4c4c5bedf4d3ceb35aebc1d7f18663c7250ac47241fea18108c0741bf2019 do_build() { - cargo build --release + #cargo build --release + cargo install --locked --path . } do_install() {