[arch-commits] Commit in rust-racer/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Mar 14 15:42:43 UTC 2020


    Date: Saturday, March 14, 2020 @ 15:42:42
  Author: svenstaro
Revision: 597005

upgpkg: rust-racer 2.1.31-1

Modified:
  rust-racer/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-14 15:17:49 UTC (rev 597004)
+++ PKGBUILD	2020-03-14 15:42:42 UTC (rev 597005)
@@ -1,10 +1,10 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
 # Contributor: Vlad M. <vlad at archlinux.net>
 # Contributor: issue <issue at archlinux dot info>
 
 pkgname=rust-racer
 _pkgname=racer
-pkgver=2.1.27
+pkgver=2.1.31
 pkgrel=1
 pkgdesc="Code completion for Rust"
 url="https://github.com/racer-rust/racer"
@@ -11,15 +11,22 @@
 makedepends=('rustup' 'cmake')
 arch=('x86_64')
 license=('MIT')
-source=("$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/$_pkgname/$pkgver/download")
-sha256sums=('dde22b84ab75220015cbd91240222402bf885cbe3a5dc856475771abb82533ae')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/racer-rust/racer/archive/v${pkgver}.tar.gz")
+sha256sums=('0ff33fa15ac0384376741d16ddb05a65263dde4e2c5d0f7a9f3747db788764aa')
 
 build() {
   cd "$_pkgname-$pkgver"
-  rustup default nightly-2019-09-01
-  cargo build --release
+  rustup default nightly-2020-03-11
+  cargo build --release --locked
 }
 
+# Currently borked :<
+# check() {
+#   cd "$_pkgname-$pkgver"
+#   rustup default nightly-2020-03-11
+#   cargo test --release --locked
+# }
+
 package() {
   cd "$_pkgname-$pkgver"
   install -Dm755 target/release/racer "$pkgdir/usr/bin/racer"



More information about the arch-commits mailing list