void-packages/srcpkgs/racer/template
2016-05-28 14:46:07 +02:00

23 lines
638 B
Bash

# Template file for 'racer'
pkgname=racer
version=1.2.10
revision=1
_gitrev=e5ffe9efc1d10d4a7d66944b4c0939b7c575530e
wrksrc="${pkgname}-${_gitrev}"
hostmakedepends="rust cargo"
short_desc="A 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/${_gitrev}.tar.gz"
checksum=42d0830fa74ba6a20b3bcadb7dd0d9e9b0c06cd7a16010551e223fdc269e3252
nocross=yes
do_build() {
cargo build --release
}
do_install() {
vbin target/release/racer
vlicense LICENSE-MIT LICENSE
}