From 26c29cf2de576d7cd105b55af2be7758269ea1bd Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 11 Feb 2021 23:32:01 +0000 Subject: [PATCH] extra/rust to 1.50.0-1 --- extra/rust/PKGBUILD | 22 ++++++++++++++-------- extra/rust/libexec.diff | 24 ++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 8 deletions(-) create mode 100644 extra/rust/libexec.diff diff --git a/extra/rust/PKGBUILD b/extra/rust/PKGBUILD index 3831a64d2..05c6a589f 100644 --- a/extra/rust/PKGBUILD +++ b/extra/rust/PKGBUILD @@ -16,10 +16,10 @@ highmem=1 pkgname=('rust' 'rust-docs') epoch=1 -pkgver=1.49.0 +pkgver=1.50.0 pkgrel=1 -_llvm_ver=11.0.0 +_llvm_ver=11.0.1 pkgdesc='Systems programming language focused on safety, speed and concurrency' url='https://www.rust-lang.org/' @@ -32,13 +32,16 @@ checkdepends=('procps-ng' 'gdb') options=('!emptydirs' '!strip') -source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} - "https://github.com/llvm/llvm-project/releases/download/llvmorg-$_llvm_ver/compiler-rt-$_llvm_ver.src.tar.xz"{,.sig}) - -sha256sums=('b50aefa8df1fdfc9bccafdbf37aee611c8dfe81bf5648d5f43699c50289dc779' +source=( + "https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} + "https://github.com/llvm/llvm-project/releases/download/llvmorg-$_llvm_ver/compiler-rt-$_llvm_ver.src.tar.xz"{,.sig} + libexec.diff +) +sha256sums=('95978f8d02bb6175ae3238930baf03563c240aedf9a70bebdc3eaa2a8c3c5a5e' 'SKIP' - '374aff82ff573a449f9aabbd330a5d0a441181c535a3599996127378112db234' - 'SKIP') + '087be3f1116e861cd969c9b0b0903c27028b52eaf45157276f50a9c2500687fc' + 'SKIP' + '9ba3070dbc877ab5e045b6a20be9134f80d8aece42766b4cfbad2a4a60c27514') validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) '474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard 'B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg @@ -46,6 +49,9 @@ validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag a prepare() { cd "rustc-$pkgver-src" + # Patch cargo so credential helpers are in /usr/lib instead of /usr/libexec + patch -Np1 -i ../libexec.diff + cat >config.toml <