rust-analyzer: 2021-12-13 -> 20220103

This commit is contained in:
Tim Biermann 2022-01-03 12:53:38 +01:00
parent 648e2def40
commit baa3476a6a
2 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38QsT7ooGaOMbYbO/T7q1pYrcsRVoJgxLgpkEtY1pk9kxzbsFirVGgCWfLiVX+1A02nzAYgWYQ7e+bmFL7zPOwg=
SHA256 (Pkgfile) = a79614ef9bb817d6bd3f772e40237bdfc74c77dd612337cff047616714d3091f
RWSagIOpLGJF36PEJpz+gXABrcqpyG8v4syxb1TS4PfCD78/vheHHoJIPYfYa9/KtIYSYLne+Yme4XpuqxaFPVKjF94wyHZNjQ4=
SHA256 (Pkgfile) = 04677b2ef92bbb732c87e306f510ca29873d24143fdff767e30cdc7915552c2a
SHA256 (.footprint) = 0b298544e01b8fbc5119583b3aa96f10232e4b267ef9f2d069810f8011b6ee34
SHA256 (rust-analyzer-2021-12-13.tar.gz) = 91e0ee4783cba2c233353c50f7a3be8ed1586b0735dd96f8c17324a162c13cb6
SHA256 (rust-analyzer-20220103.tar.gz) = 3595986c9a988c3eaaa303fdcea6b2100de8467e13863a725d8f9fd463534ce0

View File

@ -4,9 +4,10 @@
# Depends on: rust
name=rust-analyzer
version=2021-12-13
version=20220103
_version=${version::4}-${version:4:2}-${version:6:2}
release=1
source=(https://github.com/rust-analyzer/rust-analyzer/archive/$version/$name-$version.tar.gz)
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
@ -14,7 +15,7 @@ build() {
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
cargo build --release --locked --manifest-path $name-$_version/Cargo.toml
install -Dt $PKG/usr/bin $name-$version/target/release/$name
install -Dt $PKG/usr/bin $name-$_version/target/release/$name
}