void-packages/srcpkgs/racer/template

22 lines
558 B
Bash

# Template file for 'racer'
pkgname=racer
version=2.0.14
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/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
vlicense LICENSE-MIT LICENSE
}