Received: from listserv.local (listserv [172.16.8.22]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTP id 539D47811CB; Fri, 18 Feb 2022 12:46:39 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit To: "S.M Mukarram Nainar" From: Jakub Panek Cc: ~alpine/aports@lists.alpinelinux.org In-Reply-To: <164518829555.985.15335782312034367571.gitlab.31077.dfc5319443230b19df6e04b88a717295e5dadda0@listserv.local> Subject: Re: [PATCH] testing/rust-analyzer: new aport Date: Fri, 18 Feb 2022 12:46:39 -0000 Message-ID: <164518839930.985.5892343896783758662.gitlab.31077.dfc5319443230b19df6e04b88a717295e5dadda0@listserv.local> On Fri, 18 Feb 2022 07:25:07 -0500, S.M Mukarram Nainar wrote: > + > +package() { > + install -Dm755 "$pkgdir"/usr/bin target/release/rust-analyzer You can use `cargo build --frozen --release --manifest-path crates/rust-analyzer/Cargo.toml` in `build()` and `cargo install --frozen --offline --root="$pkgdir"/usr --path "$builddir"/crates/rust-analyzer` in `package()` -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/31077#note_216563