[arch-commits] Commit in rust-racer/repos (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Sep 21 18:45:58 UTC 2016
Date: Wednesday, September 21, 2016 @ 18:45:57
Author: svenstaro
Revision: 190138
archrelease: copy trunk to community-i686, community-x86_64
Added:
rust-racer/repos/community-i686/
rust-racer/repos/community-i686/PKGBUILD
(from rev 190137, rust-racer/trunk/PKGBUILD)
rust-racer/repos/community-x86_64/
rust-racer/repos/community-x86_64/PKGBUILD
(from rev 190137, rust-racer/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 27 +++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 27 +++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
Copied: rust-racer/repos/community-i686/PKGBUILD (from rev 190137, rust-racer/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-09-21 18:45:57 UTC (rev 190138)
@@ -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=1.2.10
+pkgrel=1
+pkgdesc="Code completion for Rust"
+url="https://github.com/phildawes/racer"
+optdepends=('rust-src')
+makedepends=('cargo')
+arch=('i686' 'x86_64')
+license=('MIT')
+source=("$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/$_pkgname/$pkgver/download")
+sha256sums=('73887d937ae9a27aa5dcc0b071fe90708c3dcf3d67b57193b037238dfb9c0592')
+
+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 190137, rust-racer/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-09-21 18:45:57 UTC (rev 190138)
@@ -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=1.2.10
+pkgrel=1
+pkgdesc="Code completion for Rust"
+url="https://github.com/phildawes/racer"
+optdepends=('rust-src')
+makedepends=('cargo')
+arch=('i686' 'x86_64')
+license=('MIT')
+source=("$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/$_pkgname/$pkgver/download")
+sha256sums=('73887d937ae9a27aa5dcc0b071fe90708c3dcf3d67b57193b037238dfb9c0592')
+
+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"
+}
More information about the arch-commits
mailing list