1
0
forked from ports/contrib

rust-analyzer: initial commit, version 2021-10-11

This commit is contained in:
Tim Biermann 2021-10-16 12:18:24 +02:00
parent 3596b2c94a
commit 20208300b3
3 changed files with 28 additions and 0 deletions

3
rust-analyzer/.footprint Normal file
View File

@ -0,0 +1,3 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/rust-analyzer

5
rust-analyzer/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38k76pOv6IhcASpWMfmjhfxvdJ5U20dX1BvMuJSoCUojXLOrdWWZi+z4Urbgb4CZs3OrLIvPzafpANwhJVNV0wY=
SHA256 (Pkgfile) = 892e09ffdaeb6c9eac687f012c4f96f32c339d8cbc74e8d09f8a1ad9525ab6aa
SHA256 (.footprint) = 0b298544e01b8fbc5119583b3aa96f10232e4b267ef9f2d069810f8011b6ee34
SHA256 (rust-analyzer-2021-10-11.tar.gz) = 4e517fe4089718e3fd97cdc5303bf49e29616bb343805d72072d691f9e431bb5

20
rust-analyzer/Pkgfile Normal file
View File

@ -0,0 +1,20 @@
# Description: Bringing a great IDE experience to the Rust programming language.
# URL: https://rust-analyzer.github.io/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: rust
name=rust-analyzer
version=2021-10-11
release=1
source=(https://github.com/rust-analyzer/rust-analyzer/archive/$version/$name-$version.tar.gz)
build() {
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
mkdir "$PKGMK_SOURCE_DIR/rust" || true
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
#cargo update --manifest-path $name-$version/Cargo.toml
cargo build --release --locked --manifest-path $name-$version/Cargo.toml
install -Dt $PKG/usr/bin $name-$version/target/release/$name
}