[arch-commits] Commit in rust-analyzer/repos/community-x86_64 (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Mon Aug 24 18:42:50 UTC 2020


    Date: Monday, August 24, 2020 @ 18:42:49
  Author: polyzen
Revision: 687687

archrelease: copy trunk to community-x86_64

Added:
  rust-analyzer/repos/community-x86_64/PKGBUILD
    (from rev 687686, rust-analyzer/trunk/PKGBUILD)
Deleted:
  rust-analyzer/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-24 18:42:27 UTC (rev 687686)
+++ PKGBUILD	2020-08-24 18:42:49 UTC (rev 687687)
@@ -1,39 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Sergey A. <murlakatamenka at disroot.org>
-
-pkgname=rust-analyzer
-pkgver=20200817
-_pkgver=2020-08-17
-pkgrel=1
-pkgdesc='Experimental Rust compiler front-end for IDEs'
-arch=('x86_64')
-url=https://github.com/rust-analyzer/rust-analyzer
-license=('Apache' 'MIT')
-depends=('gcc-libs' 'rust')
-source=("$url/archive/$_pkgver/$pkgname-$_pkgver.tar.gz")
-sha512sums=('6e5be5a6f8905519746f55cee457a9a3ac1fc78e43963a633bfc9a3a351c63594a25b7ff087537cafd07628fa622148eaf30648426511359e9a345aa9f2bb6b4')
-
-prepare() {
-  cd $pkgname-$_pkgver
-  sed -i '/ensure_rustfmt()?;/d' xtask/src/lib.rs
-}
-
-pkgver() {
-  echo ${_pkgver//-}
-}
-
-build() {
-  cd $pkgname-$_pkgver
-  cargo build --release --locked
-}
-
-check() {
-  cd $pkgname-$_pkgver
-  cargo test --release --locked
-}
-
-package() {
-  cd $pkgname-$_pkgver
-  install -Dt "$pkgdir"/usr/bin target/release/rust-analyzer
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT
-}

Copied: rust-analyzer/repos/community-x86_64/PKGBUILD (from rev 687686, rust-analyzer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-24 18:42:49 UTC (rev 687687)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Sergey A. <murlakatamenka at disroot.org>
+
+pkgname=rust-analyzer
+pkgver=20200824
+_pkgver=2020-08-24
+pkgrel=1
+pkgdesc='Experimental Rust compiler front-end for IDEs'
+arch=('x86_64')
+url=https://github.com/rust-analyzer/rust-analyzer
+license=('Apache' 'MIT')
+depends=('gcc-libs' 'rust')
+source=("$url/archive/$_pkgver/$pkgname-$_pkgver.tar.gz")
+sha512sums=('314cd12b2a2eb30ab3b8f7a8fcafd4d427f5e6513bce1e7258b65621d4fcd40084ef82ac276246a546f50256a67ab2caec2f4d0d2c6b2cc0ca1b5561ac0e522e')
+
+pkgver() {
+  echo ${_pkgver//-}
+}
+
+prepare() {
+  cd $pkgname-$_pkgver
+  sed -i '/ensure_rustfmt/d' xtask/src/codegen.rs
+  sed -i '/ensure_rustfmt()?;/d' xtask/src/lib.rs
+}
+
+build() {
+  cd $pkgname-$_pkgver
+  cargo build --release --locked
+}
+
+check() {
+  cd $pkgname-$_pkgver
+  cargo test --release --locked
+}
+
+package() {
+  cd $pkgname-$_pkgver
+  install -Dt "$pkgdir"/usr/bin target/release/rust-analyzer
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT
+}



More information about the arch-commits mailing list