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

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Apr 26 02:24:22 UTC 2019


    Date: Friday, April 26, 2019 @ 02:24:21
  Author: svenstaro
Revision: 454101

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-26 02:24:12 UTC (rev 454100)
+++ PKGBUILD	2019-04-26 02:24:21 UTC (rev 454101)
@@ -1,46 +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.18.0
-pkgrel=1
-pkgdesc="The Rust toolchain installer"
-arch=('x86_64')
-url="https://github.com/rust-lang/rustup.rs"
-license=('MIT' 'Apache')
-depends=('curl')
-makedepends=('cargo')
-optdepends=('lldb: rust-lldb script'
-            'gdb: rust-gdb script')
-provides=('rust' 'cargo' 'rust-nightly' 'cargo-nightly' 'rustfmt')
-conflicts=('rust' 'cargo' 'rustfmt')
-install='post.install'
-source=("rustup-${pkgver}.tar.gz::https://github.com/rust-lang/rustup.rs/archive/${pkgver}.tar.gz")
-sha512sums=('c08b7c9b7ee4a8fc87dead63f4b3fcc6aa2c8b17e27d641c3f648d6f85c76038dbcdf285501a6117cfde55465a77749fab86bd38511864f12bffc2b00e9bdb0d')
-_binlinks=('cargo' 'rustc' 'rustdoc' 'rust-gdb' 'rust-lldb' 'rls' 'rustfmt' 'cargo-fmt' 'cargo-clippy' 'clippy-driver')
-
-build() {
-    cd "$srcdir/$pkgname.rs-${pkgver}"
-    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"
-
-    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 454100, rustup/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-26 02:24:21 UTC (rev 454101)
@@ -0,0 +1,46 @@
+# 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.18.1
+pkgrel=1
+pkgdesc="The Rust toolchain installer"
+arch=('x86_64')
+url="https://github.com/rust-lang/rustup.rs"
+license=('MIT' 'Apache')
+depends=('curl')
+makedepends=('cargo')
+optdepends=('lldb: rust-lldb script'
+            'gdb: rust-gdb script')
+provides=('rust' 'cargo' 'rust-nightly' 'cargo-nightly' 'rustfmt')
+conflicts=('rust' 'cargo' 'rustfmt')
+install='post.install'
+source=("rustup-${pkgver}.tar.gz::https://github.com/rust-lang/rustup.rs/archive/${pkgver}.tar.gz")
+sha512sums=('3513c72033063961efe49a6d4f5b1279bd27cf0f3ef6fd5fa7dd8fa46f34fc653c94fd520eb6d966e88d7e3c85b1c09ac7a3b50baf385df2223de9393e556fde')
+_binlinks=('cargo' 'rustc' 'rustdoc' 'rust-gdb' 'rust-lldb' 'rls' 'rustfmt' 'cargo-fmt' 'cargo-clippy' 'clippy-driver')
+
+build() {
+    cd "$srcdir/$pkgname.rs-${pkgver}"
+    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"
+
+    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	2019-04-26 02:24:12 UTC (rev 454100)
+++ post.install	2019-04-26 02:24:21 UTC (rev 454101)
@@ -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 454100, rustup/trunk/post.install)
===================================================================
--- post.install	                        (rev 0)
+++ post.install	2019-04-26 02:24:21 UTC (rev 454101)
@@ -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