Date: Monday, July 25, 2022 @ 22:07:02 Author: polyzen Revision: 1258615
archrelease: copy trunk to community-x86_64 Added: rust-analyzer/repos/community-x86_64/PKGBUILD (from rev 1258614, rust-analyzer/trunk/PKGBUILD) Deleted: rust-analyzer/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-25 22:06:43 UTC (rev 1258614) +++ PKGBUILD 2022-07-25 22:07:02 UTC (rev 1258615) @@ -1,31 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> -# Contributor: Sergey A. <murlakatame...@disroot.org> - -pkgname=rust-analyzer -_pkgver=2022-07-18 -pkgver=${_pkgver//-} -pkgrel=1 -pkgdesc='Rust compiler front-end for IDEs' -arch=('x86_64') -url=https://rust-analyzer.github.io/ -license=('Apache' 'MIT') -depends=('gcc-libs' 'rust-src') -makedepends=('git') -source=("git+https://github.com/rust-lang/$pkgname.git#tag=$_pkgver") -b2sums=('SKIP') - -prepare() { - cd $pkgname - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -} - -build() { - cd $pkgname - RUST_ANALYZER_REV=$_pkgver cargo build --release --locked --offline -} - -package() { - cd $pkgname - install -Dt "$pkgdir"/usr/bin target/release/$pkgname - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT -} Copied: rust-analyzer/repos/community-x86_64/PKGBUILD (from rev 1258614, rust-analyzer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-25 22:07:02 UTC (rev 1258615) @@ -0,0 +1,31 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Sergey A. <murlakatame...@disroot.org> + +pkgname=rust-analyzer +_pkgver=2022-07-25 +pkgver=${_pkgver//-} +pkgrel=1 +pkgdesc='Rust compiler front-end for IDEs' +arch=('x86_64') +url=https://rust-analyzer.github.io/ +license=('Apache' 'MIT') +depends=('gcc-libs' 'rust-src') +makedepends=('git') +source=("git+https://github.com/rust-lang/$pkgname.git#tag=$_pkgver") +b2sums=('SKIP') + +prepare() { + cd $pkgname + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + cd $pkgname + RUST_ANALYZER_REV=$_pkgver cargo build --release --locked --offline +} + +package() { + cd $pkgname + install -Dt "$pkgdir"/usr/bin target/release/$pkgname + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT +}