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'
|
||||
pkgname=racer
|
||||
version=2.0.14
|
||||
revision=1
|
||||
hostmakedepends="rust cargo"
|
||||
revision=2
|
||||
build_style=cargo
|
||||
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"
|
||||
homepage="https://github.com/racer-rust/racer"
|
||||
distfiles="https://github.com/racer-rust/racer/archive/${version}.tar.gz"
|
||||
checksum=0442721c01ae4465843cb73b24f6caa0127c3308d72b944ad75736164756e522
|
||||
nocross=yes
|
||||
|
||||
do_build() {
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin target/release/racer
|
||||
post_install() {
|
||||
vlicense LICENSE-MIT LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue