vp-build/srcpkgs/racer/template

21 lines
587 B
Bash

# Template file for 'racer'
pkgname=racer
version=2.0.14
revision=2
build_style=cargo
short_desc="Utility intended to provide Rust code completion for editors and IDEs"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="https://github.com/racer-rust/racer"
distfiles="https://github.com/racer-rust/racer/archive/${version}.tar.gz"
checksum=0442721c01ae4465843cb73b24f6caa0127c3308d72b944ad75736164756e522
pre_build() {
# default version too old for ppc musl systems
cargo update --package libc --precise 0.2.66
}
post_install() {
vlicense LICENSE-MIT LICENSE
}