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

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


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

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   61 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 34 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-14 15:42:42 UTC (rev 597005)
+++ PKGBUILD	2020-03-14 15:42:48 UTC (rev 597006)
@@ -1,27 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Vlad M. <vlad at archlinux.net>
-# Contributor: issue <issue at archlinux dot info>
-
-pkgname=rust-racer
-_pkgname=racer
-pkgver=2.1.27
-pkgrel=1
-pkgdesc="Code completion for Rust"
-url="https://github.com/racer-rust/racer"
-makedepends=('rustup' 'cmake')
-arch=('x86_64')
-license=('MIT')
-source=("$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/$_pkgname/$pkgver/download")
-sha256sums=('dde22b84ab75220015cbd91240222402bf885cbe3a5dc856475771abb82533ae')
-
-build() {
-  cd "$_pkgname-$pkgver"
-  rustup default nightly-2019-09-01
-  cargo build --release
-}
-
-package() {
-  cd "$_pkgname-$pkgver"
-  install -Dm755 target/release/racer "$pkgdir/usr/bin/racer"
-  install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
-}

Copied: rust-racer/repos/community-x86_64/PKGBUILD (from rev 597005, rust-racer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-14 15:42:48 UTC (rev 597006)
@@ -0,0 +1,34 @@
+# 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.31
+pkgrel=1
+pkgdesc="Code completion for Rust"
+url="https://github.com/racer-rust/racer"
+makedepends=('rustup' 'cmake')
+arch=('x86_64')
+license=('MIT')
+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-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"
+  install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
+}



More information about the arch-commits mailing list