void-packages/srcpkgs/racer/template

22 lines
555 B
Bash

# Template file for 'racer'
pkgname=racer
version=2.0.8
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=b6a1d3033fe5ca27674afceee936cf6d04b6fc11709513e230a039a2200f8797
nocross=yes
do_build() {
cargo build --release
}
do_install() {
vbin target/release/racer
vlicense LICENSE-MIT LICENSE
}