[arch-commits] Commit in rust-racer/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Thu Aug 9 13:53:30 UTC 2018
Date: Thursday, August 9, 2018 @ 13:53:29
Author: svenstaro
Revision: 370636
archrelease: copy trunk to community-x86_64
Added:
rust-racer/repos/community-x86_64/PKGBUILD
(from rev 370635, rust-racer/trunk/PKGBUILD)
Deleted:
rust-racer/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 53 +++++++++++++++++++++++++++--------------------------
1 file changed, 27 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-09 13:53:21 UTC (rev 370635)
+++ PKGBUILD 2018-08-09 13:53:29 UTC (rev 370636)
@@ -1,26 +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.0.14
-pkgrel=1
-pkgdesc="Code completion for Rust"
-url="https://github.com/phildawes/racer"
-makedepends=('cargo')
-arch=('x86_64')
-license=('MIT')
-source=("$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/$_pkgname/$pkgver/download")
-sha256sums=('e713729f45f12df5c5e182d39506766f76c09133fb661d3622e0ddf8078911c2')
-
-build() {
- cd "$_pkgname-$pkgver"
- 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 370635, rust-racer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-09 13:53:29 UTC (rev 370636)
@@ -0,0 +1,27 @@
+# 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.4
+pkgrel=1
+pkgdesc="Code completion for Rust"
+url="https://github.com/phildawes/racer"
+makedepends=('rustup' 'cmake')
+arch=('x86_64')
+license=('MIT')
+source=("$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/$_pkgname/$pkgver/download")
+sha256sums=('dcbc5ababaffee8d8f34910f925287c8f716b1ead48561c4278a152d08264f7c')
+
+build() {
+ cd "$_pkgname-$pkgver"
+ rustup default nightly
+ 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"
+}
More information about the arch-commits
mailing list