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