2023-01-26 09:06:30 +01:00
|
|
|
# Template file for 'handlr'
|
|
|
|
pkgname=handlr
|
|
|
|
version=0.6.4
|
2023-05-02 09:44:26 +02:00
|
|
|
revision=2
|
2023-01-26 09:06:30 +01:00
|
|
|
build_style=cargo
|
|
|
|
depends="shared-mime-info"
|
|
|
|
checkdepends="shared-mime-info"
|
|
|
|
short_desc="Alternative to xdg-utils for ease of use"
|
|
|
|
maintainer="Noel Cower <ncower@nil.dev>"
|
|
|
|
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
|
|
|
|
}
|