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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Jul 6 18:29:58 UTC 2020


    Date: Monday, July 6, 2020 @ 18:29:56
  Author: svenstaro
Revision: 658049

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-06 18:29:48 UTC (rev 658048)
+++ PKGBUILD	2020-07-06 18:29:56 UTC (rev 658049)
@@ -1,49 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
-# Contributor: Jon Gjengset <jon at tsp.io>
-pkgname=rustup
-pkgver=1.21.1
-pkgrel=5
-pkgdesc="The Rust toolchain installer"
-arch=('x86_64')
-url="https://github.com/rust-lang/rustup.rs"
-license=('MIT' 'Apache')
-depends=('curl' 'xz')
-makedepends=('cargo')
-optdepends=('lldb: rust-lldb script'
-            'gdb: rust-gdb script')
-provides=('rust' 'cargo' 'rust-nightly' 'cargo-nightly' 'rustfmt')
-conflicts=('rust' 'cargo' 'rustfmt')
-replaces=('cargo-tree')
-install='post.install'
-source=("rustup-${pkgver}.tar.gz::https://github.com/rust-lang/rustup.rs/archive/${pkgver}.tar.gz")
-sha512sums=('c4bac7d7259631cef5f337cec18bffe087e1bed883cd763841e4236f2e51c11b32b5d29b2e60cf3364418e7b9dd53fc2365a9c3c2e203dd19893981718a345ba')
-_binlinks=('cargo' 'rustc' 'rustdoc' 'rust-gdb' 'rust-lldb' 'rls' 'rustfmt' 'cargo-fmt' 'cargo-clippy' 'clippy-driver' 'cargo-miri')
-
-build() {
-    cd "$srcdir/$pkgname-${pkgver}"
-    cargo build --release --features no-self-update --bin rustup-init
-}
-
-package() {
-    cd "$pkgname-${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"
-    "$pkgdir"/usr/bin/rustup completions bash cargo > "$pkgdir/usr/share/bash-completion/completions/cargo"
-    mkdir -p "$pkgdir/usr/share/fish/vendor_completions.d"
-    "$pkgdir"/usr/bin/rustup completions fish > "$pkgdir/usr/share/fish/vendor_completions.d/rustup.fish"
-    mkdir -p "$pkgdir/usr/share/zsh/site-functions"
-    "$pkgdir"/usr/bin/rustup completions zsh > "$pkgdir/usr/share/zsh/site-functions/_rustup"
-    "$pkgdir"/usr/bin/rustup completions zsh cargo > "$pkgdir/usr/share/zsh/site-functions/_cargo"
-
-    install -Dm644 LICENSE-MIT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE-MIT
-    install -Dm644 LICENSE-APACHE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE-APACHE
-}
-
-# vim:filetype=sh:

Copied: rustup/repos/community-x86_64/PKGBUILD (from rev 658048, rustup/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-06 18:29:56 UTC (rev 658049)
@@ -0,0 +1,49 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
+# Contributor: Jon Gjengset <jon at tsp.io>
+pkgname=rustup
+pkgver=1.22.0
+pkgrel=1
+pkgdesc="The Rust toolchain installer"
+arch=('x86_64')
+url="https://github.com/rust-lang/rustup.rs"
+license=('MIT' 'Apache')
+depends=('curl' 'xz')
+makedepends=('cargo')
+optdepends=('lldb: rust-lldb script'
+            'gdb: rust-gdb script')
+provides=('rust' 'cargo' 'rust-nightly' 'cargo-nightly' 'rustfmt')
+conflicts=('rust' 'cargo' 'rustfmt')
+replaces=('cargo-tree')
+install='post.install'
+source=("rustup-${pkgver}.tar.gz::https://github.com/rust-lang/rustup.rs/archive/${pkgver}.tar.gz")
+sha512sums=('49529812bd22fc60e97c2d7572799e2e7268c1d65c1cdef2c099c4edc66ccc86e5ec6937012ab0bea1b62946122f2186a6b57344ae69f6ce97e31124895e5788')
+_binlinks=('cargo' 'rustc' 'rustdoc' 'rust-gdb' 'rust-lldb' 'rls' 'rustfmt' 'cargo-fmt' 'cargo-clippy' 'clippy-driver' 'cargo-miri')
+
+build() {
+    cd "$srcdir/$pkgname-${pkgver}"
+    cargo build --release --features no-self-update --bin rustup-init
+}
+
+package() {
+    cd "$pkgname-${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"
+    "$pkgdir"/usr/bin/rustup completions bash cargo > "$pkgdir/usr/share/bash-completion/completions/cargo"
+    mkdir -p "$pkgdir/usr/share/fish/vendor_completions.d"
+    "$pkgdir"/usr/bin/rustup completions fish > "$pkgdir/usr/share/fish/vendor_completions.d/rustup.fish"
+    mkdir -p "$pkgdir/usr/share/zsh/site-functions"
+    "$pkgdir"/usr/bin/rustup completions zsh > "$pkgdir/usr/share/zsh/site-functions/_rustup"
+    "$pkgdir"/usr/bin/rustup completions zsh cargo > "$pkgdir/usr/share/zsh/site-functions/_cargo"
+
+    install -Dm644 LICENSE-MIT "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE-MIT
+    install -Dm644 LICENSE-APACHE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE-APACHE
+}
+
+# vim:filetype=sh:

Deleted: post.install
===================================================================
--- post.install	2020-07-06 18:29:48 UTC (rev 658048)
+++ post.install	2020-07-06 18:29:56 UTC (rev 658049)
@@ -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 658048, rustup/trunk/post.install)
===================================================================
--- post.install	                        (rev 0)
+++ post.install	2020-07-06 18:29:56 UTC (rev 658049)
@@ -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