diff options
author | John Turner <jturner.usa+gentoo@gmail.com> | 2022-03-28 22:34:30 -0400 |
---|---|---|
committer | John Turner <jturner.usa+gentoo@gmail.com> | 2022-03-28 22:34:30 -0400 |
commit | 0b2f7e78b2092881872a38a168975034b84da702 (patch) | |
tree | 256b2537403eb5bebac6fbbe5b061c3bee5f634c /dev-util | |
parent | dc2e64925f3494e6878a5f834a13c9370598d2e9 (diff) | |
download | ebuilds-0b2f7e78b2092881872a38a168975034b84da702.tar.gz |
dev-util/rust-analyzer: added live ebuild
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/rust-analyzer/rust-analyzer-99999999.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/rust-analyzer/rust-analyzer-99999999.ebuild b/dev-util/rust-analyzer/rust-analyzer-99999999.ebuild new file mode 100644 index 0000000..fc4854b --- /dev/null +++ b/dev-util/rust-analyzer/rust-analyzer-99999999.ebuild @@ -0,0 +1,41 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES="" + +inherit cargo git-r3 + +DESCRIPTION="A language server for the Rust programming language" +HOMEPAGE="https://rust-analyzer.github.io/" +EGIT_REPO_URI="https://github.com/rust-analyzer/rust-analyzer" +EGIT_BRANCH="master" +EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}" +S="${EGIT_CHECKOUT_DIR}" + +LICENSE="0BSD Apache-2.0 Artistic-2 BSD Boost-1.0 CC0-1.0 ISC MIT Unlicense ZLIB" +SLOT="0" + +BDEPEND="${BDEPEND} + >=dev-lang/rust-1.55.0" + +RESTRICT="test" +DOCS=( README.md PRIVACY.md ) + +src_unpack() { + git-r3_src_unpack + cargo_live_src_unpack +} + +src_configure() { + cargo_src_configure --no-default-features +} + +src_compile () { + cargo_src_compile --manifest-path "${S}"/crates/${PN}/Cargo.toml +} + +src_install() { + cargo_src_install --path "${S}"/crates/${PN} +} |