skim: use cargo buildstyle

This commit is contained in:
Rasmus Thomsen 2018-10-02 01:15:16 +02:00 committed by Enno Boland
parent 2bbca32961
commit 687caa5b05

View file

@ -1,25 +1,15 @@
# Template file for 'skim'
pkgname=skim
version=0.5.1
revision=1
hostmakedepends="cargo rust"
revision=2
build_style=cargo
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
post_install() {
vlicense LICENSE
}