void-packages/srcpkgs/racer/template

22 lines
555 B
Bash

# Template file for 'racer'
pkgname=racer
version=2.0.6
revision=1
hostmakedepends="rust cargo"
short_desc="Utility intended to provide Rust code completion for editors and IDEs"
maintainer="Michael Gehring <mg@ebfe.org>"
license="MIT"
homepage="https://github.com/phildawes/racer"
distfiles="https://github.com/phildawes/racer/archive/${version}.tar.gz"
checksum=a9704478f72037e76d4d3702fe39b3c50597bde35dac1a11bf8034de87bbdc70
nocross=yes
do_build() {
cargo build --release
}
do_install() {
vbin target/release/racer
vlicense LICENSE-MIT LICENSE
}