void-packages/srcpkgs/racer/template

24 lines
638 B
Bash
Raw Normal View History

2016-03-04 09:15:36 +00:00
# Template file for 'racer'
pkgname=racer
2016-05-28 11:59:05 +00:00
version=1.2.10
2016-03-04 09:15:36 +00:00
revision=1
2016-05-28 11:59:05 +00:00
_gitrev=e5ffe9efc1d10d4a7d66944b4c0939b7c575530e
wrksrc="${pkgname}-${_gitrev}"
2016-03-04 09:15:36 +00:00
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"
2016-05-28 11:59:05 +00:00
distfiles="https://github.com/phildawes/racer/archive/${_gitrev}.tar.gz"
checksum=42d0830fa74ba6a20b3bcadb7dd0d9e9b0c06cd7a16010551e223fdc269e3252
2016-03-04 09:15:36 +00:00
nocross=yes
do_build() {
cargo build --release
}
do_install() {
vbin target/release/racer
vlicense LICENSE-MIT LICENSE
}