[arch-commits] Commit in rustup/repos/community-x86_64 (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Dec 20 06:39:13 UTC 2017


    Date: Wednesday, December 20, 2017 @ 06:39:12
  Author: svenstaro
Revision: 274972

archrelease: copy trunk to community-x86_64

Added:
  rustup/repos/community-x86_64/PKGBUILD
    (from rev 274971, rustup/trunk/PKGBUILD)
  rustup/repos/community-x86_64/post.install
    (from rev 274971, rustup/trunk/post.install)
Deleted:
  rustup/repos/community-x86_64/PKGBUILD
  rustup/repos/community-x86_64/post.install

--------------+
 PKGBUILD     |   84 ++++++++++++++++++++++++++++-----------------------------
 post.install |   16 +++++-----
 2 files changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-20 06:38:57 UTC (rev 274971)
+++ PKGBUILD	2017-12-20 06:39:12 UTC (rev 274972)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
-# Contributor: Jon Gjengset <jon at tsp.io>
-pkgname=rustup
-pkgver=1.7.0
-pkgrel=1
-pkgdesc="The Rust toolchain installer"
-arch=('x86_64')
-url="https://github.com/rust-lang-nursery/rustup.rs"
-license=('MIT' 'Apache')
-makedepends=('cargo')
-provides=('rust' 'cargo' 'rust-nightly' 'cargo-nightly')
-conflicts=('rust' 'cargo')
-install='post.install'
-source=("rustup-${pkgver}.tar.gz::https://github.com/rust-lang-nursery/rustup.rs/archive/${pkgver}.tar.gz")
-md5sums=('a7bcc4e0b17ad1431ffd72616507b0d7')
-_binlinks=('cargo' 'rustc' 'rustdoc' 'rust-gdb' 'rust-lldb' 'rls')
-
-build() {
-    msg2 "Building rustup"
-    cd "$srcdir/$pkgname.rs-${pkgver}"
-    # cargo update
-    cargo build --release --features no-self-update --bin rustup-init
-}
-
-package() {
-    cd "$pkgname.rs-${pkgver}"
-    install -Dm755 "target/release/rustup-init" "${pkgdir}/usr/bin/rustup"
-    for link in "${_binlinks[@]}"; do
-        ln -s /usr/bin/rustup "${pkgdir}/usr/bin/${link}"
-    done
-
-    # Generate completion files.
-    mkdir -p "$pkgdir/usr/share/bash-completion/completions"
-    $pkgdir/usr/bin/rustup completions bash > "$pkgdir/usr/share/bash-completion/completions/rustup"
-    mkdir -p "$pkgdir/usr/share/fish/completions"
-    $pkgdir/usr/bin/rustup completions fish > "$pkgdir/usr/share/fish/completions/rustup.fish"
-    mkdir -p "$pkgdir/usr/share/zsh/site-functions"
-    $pkgdir/usr/bin/rustup completions zsh > "$pkgdir/usr/share/zsh/site-functions/_rustup"
-}
-
-# vim:filetype=sh:

Copied: rustup/repos/community-x86_64/PKGBUILD (from rev 274971, rustup/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-20 06:39:12 UTC (rev 274972)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
+# Contributor: Jon Gjengset <jon at tsp.io>
+pkgname=rustup
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="The Rust toolchain installer"
+arch=('x86_64')
+url="https://github.com/rust-lang-nursery/rustup.rs"
+license=('MIT' 'Apache')
+makedepends=('cargo')
+provides=('rust' 'cargo' 'rust-nightly' 'cargo-nightly')
+conflicts=('rust' 'cargo')
+install='post.install'
+source=("rustup-${pkgver}.tar.gz::https://github.com/rust-lang-nursery/rustup.rs/archive/${pkgver}.tar.gz")
+sha512sums=('0b39c37a0a787570404d1c3890176cbb585a813b206a15d4489cc352005248d51d5c4df9fa19d29367f551e46955cad06874a3a46c95685535d7532ab024ea13')
+_binlinks=('cargo' 'rustc' 'rustdoc' 'rust-gdb' 'rust-lldb' 'rls')
+
+build() {
+    msg2 "Building rustup"
+    cd "$srcdir/$pkgname.rs-${pkgver}"
+    # cargo update
+    cargo build --release --features no-self-update --bin rustup-init
+}
+
+package() {
+    cd "$pkgname.rs-${pkgver}"
+    install -Dm755 "target/release/rustup-init" "${pkgdir}/usr/bin/rustup"
+    for link in "${_binlinks[@]}"; do
+        ln -s /usr/bin/rustup "${pkgdir}/usr/bin/${link}"
+    done
+
+    # Generate completion files.
+    mkdir -p "$pkgdir/usr/share/bash-completion/completions"
+    $pkgdir/usr/bin/rustup completions bash > "$pkgdir/usr/share/bash-completion/completions/rustup"
+    mkdir -p "$pkgdir/usr/share/fish/completions"
+    $pkgdir/usr/bin/rustup completions fish > "$pkgdir/usr/share/fish/completions/rustup.fish"
+    mkdir -p "$pkgdir/usr/share/zsh/site-functions"
+    $pkgdir/usr/bin/rustup completions zsh > "$pkgdir/usr/share/zsh/site-functions/_rustup"
+}
+
+# vim:filetype=sh:

Deleted: post.install
===================================================================
--- post.install	2017-12-20 06:38:57 UTC (rev 274971)
+++ post.install	2017-12-20 06:39:12 UTC (rev 274972)
@@ -1,8 +0,0 @@
-post_install() {
-	echo "You may need to run rustup update stable"
-	echo "and possibly also rustup self upgrade-data"
-}
-
-post_upgrade() {
-	echo "You may need to run rustup self upgrade-data"
-}

Copied: rustup/repos/community-x86_64/post.install (from rev 274971, rustup/trunk/post.install)
===================================================================
--- post.install	                        (rev 0)
+++ post.install	2017-12-20 06:39:12 UTC (rev 274972)
@@ -0,0 +1,8 @@
+post_install() {
+	echo "You may need to run rustup update stable"
+	echo "and possibly also rustup self upgrade-data"
+}
+
+post_upgrade() {
+	echo "You may need to run rustup self upgrade-data"
+}



More information about the arch-commits mailing list