racer: use cargo buildstyle
This commit is contained in:
parent
138391646f
commit
5697ef5d81
1 changed files with 4 additions and 10 deletions
|
@ -1,21 +1,15 @@
|
||||||
# Template file for 'racer'
|
# Template file for 'racer'
|
||||||
pkgname=racer
|
pkgname=racer
|
||||||
version=2.0.14
|
version=2.0.14
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="rust cargo"
|
build_style=cargo
|
||||||
short_desc="Utility intended to provide Rust code completion for editors and IDEs"
|
short_desc="Utility intended to provide Rust code completion for editors and IDEs"
|
||||||
maintainer="Orphaned <orphan@voidlinux.eu>"
|
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/racer-rust/racer"
|
homepage="https://github.com/racer-rust/racer"
|
||||||
distfiles="https://github.com/racer-rust/racer/archive/${version}.tar.gz"
|
distfiles="https://github.com/racer-rust/racer/archive/${version}.tar.gz"
|
||||||
checksum=0442721c01ae4465843cb73b24f6caa0127c3308d72b944ad75736164756e522
|
checksum=0442721c01ae4465843cb73b24f6caa0127c3308d72b944ad75736164756e522
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
cargo build --release
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin target/release/racer
|
|
||||||
vlicense LICENSE-MIT LICENSE
|
vlicense LICENSE-MIT LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue