From 55efc12878410e4927e7b5494703011033ac4a4d Mon Sep 17 00:00:00 2001 From: Noel Cower Date: Thu, 26 Jan 2023 00:06:30 -0800 Subject: [PATCH] New package: handlr-0.6.4 --- srcpkgs/handlr/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/handlr/template diff --git a/srcpkgs/handlr/template b/srcpkgs/handlr/template new file mode 100644 index 000000000000..36cb4345d546 --- /dev/null +++ b/srcpkgs/handlr/template @@ -0,0 +1,23 @@ +# Template file for 'handlr' +pkgname=handlr +version=0.6.4 +revision=1 +build_style=cargo +short_desc="Alternative to xdg-utils for ease of use" +maintainer="Noel Cower " +license="MIT" +homepage="https://github.com/chmln/handlr" +distfiles="https://github.com/chmln/handlr/archive/v${version}.tar.gz" +checksum=7aae79775a08fdeb822eb0dafe90fdedffb97063649c9a950e9a8b8e6bf8e5ba + +post_patch() { + # fixes an indexmap error when cross compiling (see #34889) + cargo update --package autocfg:1.0.1 --precise 1.1.0 +} + +post_install() { + vcompletion completions/_handlr zsh + vcompletion completions/handlr.fish fish + + vlicense LICENSE +}