From 74409caea6fee97fb9557a7b72ae38c71a567aea Mon Sep 17 00:00:00 2001 From: zenobit Date: Sun, 16 Apr 2023 07:09:10 +0200 Subject: [PATCH] New package: lazycli-0.1.15 --- srcpkgs/lazycli/template | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 srcpkgs/lazycli/template diff --git a/srcpkgs/lazycli/template b/srcpkgs/lazycli/template new file mode 100644 index 0000000000000..05dffdc1b17ad --- /dev/null +++ b/srcpkgs/lazycli/template @@ -0,0 +1,31 @@ +# 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" +#changelog="" +distfiles="https://github.com/jesseduffield/lazycli/archive/refs/tags/v${version}.tar.gz" +checksum=66f4c4c5bedf4d3ceb35aebc1d7f18663c7250ac47241fea18108c0741bf2019 + +#pre_build() { + # fixes an indexmap error when cross compiling + #cargo update --package autocfg:1.1.0 --precise 1.1.0 +#} + +do_build() { + cargo build --release +} + +do_install() { + vbin target/release/lazycli +} + +post_install() { + vlicense LICENSE +}