fselect: use cargo buildstyle
This commit is contained in:
parent
f555f23398
commit
bfaf30f970
1 changed files with 3 additions and 9 deletions
|
@ -1,22 +1,16 @@
|
|||
# Template file for 'fselect'
|
||||
pkgname=fselect
|
||||
version=0.4.5
|
||||
revision=1
|
||||
hostmakedepends="cargo"
|
||||
revision=2
|
||||
build_style=cargo
|
||||
short_desc="Find files with SQL-like queries"
|
||||
maintainer="SolitudeSF <solitudesf@protonmail.com>"
|
||||
license="Apache-2.0, MIT"
|
||||
homepage="https://github.com/jhspetersson/fselect"
|
||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||
checksum=d08e6f34b52f87604b575daba7a48a8803181f5605fa689e4f4ebec0c4e96f2c
|
||||
nocross=yes
|
||||
|
||||
do_build() {
|
||||
cargo build --release ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin target/release/fselect
|
||||
post_install() {
|
||||
vlicense LICENSE-APACHE
|
||||
vlicense LICENSE-MIT
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue