skim: use cargo buildstyle
This commit is contained in:
parent
2bbca32961
commit
687caa5b05
1 changed files with 3 additions and 13 deletions
|
@ -1,25 +1,15 @@
|
||||||
# Template file for 'skim'
|
# Template file for 'skim'
|
||||||
pkgname=skim
|
pkgname=skim
|
||||||
version=0.5.1
|
version=0.5.1
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="cargo rust"
|
build_style=cargo
|
||||||
short_desc="Fuzzy Finder in rust"
|
short_desc="Fuzzy Finder in rust"
|
||||||
maintainer="Orphan <orphan@voidlinux.eu>"
|
maintainer="Orphan <orphan@voidlinux.eu>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/lotabout/skim"
|
homepage="https://github.com/lotabout/skim"
|
||||||
distfiles="https://github.com/lotabout/skim/archive/v${version}.tar.gz"
|
distfiles="https://github.com/lotabout/skim/archive/v${version}.tar.gz"
|
||||||
checksum=f616e229971c75b14e46a5843389e61148262ad41965afa051ff85970f3a6773
|
checksum=f616e229971c75b14e46a5843389e61148262ad41965afa051ff85970f3a6773
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
cargo build --release
|
|
||||||
}
|
|
||||||
|
|
||||||
do_check() {
|
|
||||||
cargo test --release
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin target/release/sk
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue