void-packages/srcpkgs/racer/template

22 lines
558 B
Bash

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