23 lines
637 B
Bash
23 lines
637 B
Bash
# Template file for 'racer'
|
|
pkgname=racer
|
|
version=2.0.2
|
|
revision=2
|
|
_gitrev=aebec47b2c8d541552761f07e598d7301adf48d0
|
|
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=82930f47cdb25583d4b9e4289399a835e67848c564d478ed09710c5d8afd072d
|
|
nocross=yes
|
|
|
|
do_build() {
|
|
cargo build --release
|
|
}
|
|
|
|
do_install() {
|
|
vbin target/release/racer
|
|
vlicense LICENSE-MIT LICENSE
|
|
}
|