[arch-commits] Commit in rustfmt/repos (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Tue Sep 20 22:38:55 UTC 2016
Date: Tuesday, September 20, 2016 @ 22:38:54
Author: svenstaro
Revision: 190079
archrelease: copy trunk to community-i686, community-x86_64
Added:
rustfmt/repos/community-i686/
rustfmt/repos/community-i686/PKGBUILD
(from rev 190078, rustfmt/trunk/PKGBUILD)
rustfmt/repos/community-x86_64/
rustfmt/repos/community-x86_64/PKGBUILD
(from rev 190078, rustfmt/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 25 +++++++++++++++++++++++++
community-x86_64/PKGBUILD | 25 +++++++++++++++++++++++++
2 files changed, 50 insertions(+)
Copied: rustfmt/repos/community-i686/PKGBUILD (from rev 190078, rustfmt/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-09-20 22:38:54 UTC (rev 190079)
@@ -0,0 +1,25 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Vlad M. <vlad at archlinux.net>
+
+pkgname=rustfmt
+pkgver=0.6.2
+pkgrel=2
+pkgdesc="A tool for formatting Rust code according to style guidelines"
+url="https://github.com/rust-lang-nursery/rustfmt"
+makedepends=('cargo')
+arch=('i686' 'x86_64')
+license=('Apache' 'MIT')
+source=("https://github.com/rust-lang-nursery/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('bfec27178ed7fcc2da27ac46604abb231626e3f0a8800d70128d0b9a152c22f7')
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE-MIT LICENSE-APACHE
+ cd target/release
+ install -Dm755 -t "$pkgdir/usr/bin/" rustfmt cargo-fmt
+}
Copied: rustfmt/repos/community-x86_64/PKGBUILD (from rev 190078, rustfmt/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-09-20 22:38:54 UTC (rev 190079)
@@ -0,0 +1,25 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Vlad M. <vlad at archlinux.net>
+
+pkgname=rustfmt
+pkgver=0.6.2
+pkgrel=2
+pkgdesc="A tool for formatting Rust code according to style guidelines"
+url="https://github.com/rust-lang-nursery/rustfmt"
+makedepends=('cargo')
+arch=('i686' 'x86_64')
+license=('Apache' 'MIT')
+source=("https://github.com/rust-lang-nursery/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('bfec27178ed7fcc2da27ac46604abb231626e3f0a8800d70128d0b9a152c22f7')
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE-MIT LICENSE-APACHE
+ cd target/release
+ install -Dm755 -t "$pkgdir/usr/bin/" rustfmt cargo-fmt
+}
More information about the arch-commits
mailing list