dev-util/racer: bump version to 2.0.1
This commit is contained in:
parent
c84d08c097
commit
f2d029c212
2 changed files with 40 additions and 0 deletions
38
dev-util/racer/racer-2.0.1.ebuild
Normal file
38
dev-util/racer/racer-2.0.1.ebuild
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Rust Code Completion utility "
|
||||
HOMEPAGE="https://github.com/phildawes/racer"
|
||||
SRC_URI="https://github.com/phildawes/racer/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="virtual/rust:*"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/cargo"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin target/release/racer
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You most probably should fetch rust sources for best experience."
|
||||
elog "Racer will look for sources in path pointed by RUST_SRC_PATH"
|
||||
elog "environment variable. You can use"
|
||||
elog "% export RUST_SRC_PATH=<path to>/rust/src."
|
||||
elog "Use vim-racer or emacs-racer for the editos support"
|
||||
elog
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue