# Template file for 'skim'
pkgname=skim
version=0.5.1
revision=1
hostmakedepends="cargo rust"
short_desc="Fuzzy Finder in rust"
maintainer="Orphan <orphan@voidlinux.eu>"
license="MIT"
homepage="https://github.com/lotabout/skim"
distfiles="https://github.com/lotabout/skim/archive/v${version}.tar.gz"
checksum=f616e229971c75b14e46a5843389e61148262ad41965afa051ff85970f3a6773
nocross=yes

do_build() {
	cargo build --release
}

do_check() {
	cargo test --release
}

do_install() {
	vbin target/release/sk
	vlicense LICENSE
}
