[arch-commits] Commit in rust-analyzer/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Mon Jul 13 20:38:34 UTC 2020
Date: Monday, July 13, 2020 @ 20:38:34
Author: polyzen
Revision: 663536
upgpkg: rust-analyzer 20200713-1
Modified:
rust-analyzer/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-13 20:19:02 UTC (rev 663535)
+++ PKGBUILD 2020-07-13 20:38:34 UTC (rev 663536)
@@ -2,8 +2,8 @@
# Contributor: Sergey A. <murlakatamenka at disroot.org>
pkgname=rust-analyzer
-pkgver=20200706
-_pkgver=2020-07-06
+pkgver=20200713
+_pkgver=2020-07-13
pkgrel=1
pkgdesc='Experimental Rust compiler front-end for IDEs'
arch=('x86_64')
@@ -11,8 +11,13 @@
license=('Apache' 'MIT')
depends=('gcc-libs' 'rust')
source=("$url/archive/$_pkgver/$pkgname-$_pkgver.tar.gz")
-sha512sums=('6ad2c47eb4e683645ff586fd1e7fde3d434d1f376b75c716bde587140baf18491613e20e9e03fbc9aabb455fbb7b194bb702fba57c7de8e96d54920272415fdb')
+sha512sums=('a002f61cdabba61e5bb899ece7b44a06ec04f2864a6c3b77bd93611a126fbbc46e64e891ab575c0c5c5dc6508060e65c44c312d464e37f8d71ec0f649e0cb9f5')
+prepare() {
+ cd $pkgname-$_pkgver
+ sed -i '/ensure_rustfmt()?;/d' xtask/src/lib.rs
+}
+
pkgver() {
echo ${_pkgver//-}
}
@@ -22,11 +27,10 @@
cargo build --release --locked
}
-# https://github.com/rust-analyzer/rust-analyzer/issues/4218#issuecomment-625612149
-# check() {
-# cd $pkgname-$_pkgver
-# cargo test --release --locked
-# }
+check() {
+ cd $pkgname-$_pkgver
+ cargo test --release --locked
+}
package() {
cd $pkgname-$_pkgver
More information about the arch-commits
mailing list