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

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Jul 21 13:14:20 UTC 2020


    Date: Tuesday, July 21, 2020 @ 13:14:20
  Author: svenstaro
Revision: 664747

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   71 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 37 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-21 13:14:15 UTC (rev 664746)
+++ PKGBUILD	2020-07-21 13:14:20 UTC (rev 664747)
@@ -1,34 +0,0 @@
-# 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"
-}

Copied: rust-racer/repos/community-x86_64/PKGBUILD (from rev 664746, rust-racer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-21 13:14:20 UTC (rev 664747)
@@ -0,0 +1,37 @@
+# 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.36
+pkgrel=1
+pkgdesc="Code completion for Rust"
+url="https://github.com/racer-rust/racer"
+depends=('gcc-libs')
+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=('60cd191c3f42c37295404ddd204654985892626a9326e32a7c2ac370eb9df1bb')
+
+build() {
+  cd "$_pkgname-$pkgver"
+  rustup set profile minimal
+  rustup default nightly-2020-07-21
+  cargo build --release --locked
+}
+
+# Currently borked :<
+# check() {
+#   cd "$_pkgname-$pkgver"
+#   rustup set profile minimal
+#   rustup default nightly-2020-07-21
+#   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