From 4814d524bf00b40a1722707d3e7de006512cb602 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 23 Jan 2021 18:46:10 +0100 Subject: updated rust-bin (1.49) and rust148 for building a new rust --- build-support/disabled/rust-bin/PKGBUILD | 11 +- build-support/rust148/PKGBUILD | 202 +++++++++++++++++++++++++++++++ build-support/rust148/config.toml.patch | 26 ++++ 3 files changed, 233 insertions(+), 6 deletions(-) create mode 100644 build-support/rust148/PKGBUILD create mode 100644 build-support/rust148/config.toml.patch (limited to 'build-support') diff --git a/build-support/disabled/rust-bin/PKGBUILD b/build-support/disabled/rust-bin/PKGBUILD index 125dac5f..ece1dfaf 100644 --- a/build-support/disabled/rust-bin/PKGBUILD +++ b/build-support/disabled/rust-bin/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Andreas Baumann pkgname=rust-bin -pkgver=1.38.0 +pkgver=1.49.0 pkgrel=1 pkgdesc='Binary precompiled packages for Rust' url='https://www.rust-lang.org/' @@ -15,11 +15,11 @@ source_x86_64=("https://static.rust-lang.org/dist/rust-$pkgver-x86_64-unknown-li source_pentium4=("https://static.rust-lang.org/dist/rust-$pkgver-i686-unknown-linux-gnu.tar.gz"{,.asc}) source_i686=("https://static.rust-lang.org/dist/rust-$pkgver-i686-unknown-linux-gnu.tar.gz"{,.asc}) -sha256sums_x86_64=('cb573229bfd32928177c3835fdeb62d52da64806b844bc1095c6225b0665a1cb' +sha256sums_x86_64=('8b14446df82f3707d69cf58fed92f18e0bff91621c62baf89288ef70e3e92981' 'SKIP') -sha256sums_pentium4=('41aed8a350e24a0cac1444ed99b3dd24a90bc581dd88cb420c6e547d6b5f57af' +sha256sums_pentium4=('5371bfa2c8e566aa283acdfa93d24b981c789d7c040ac1ca74e76bff1c7f6598' 'SKIP') -sha256sums_i686=('41aed8a350e24a0cac1444ed99b3dd24a90bc581dd88cb420c6e547d6b5f57af' +sha256sums_i686=('5371bfa2c8e566aa283acdfa93d24b981c789d7c040ac1ca74e76bff1c7f6598' 'SKIP') validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) @@ -27,8 +27,7 @@ validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag a case "${CARCH}" in x86_64) _ARCH='x86_64-unknown-linux-gnu';; - pentium4) _ARCH='i686-unknown-linux-gnu';; - i686) _ARCH='i686-unknown-linux-gnu';; + i686|pentium4) _ARCH='i686-unknown-linux-gnu';; esac package() { diff --git a/build-support/rust148/PKGBUILD b/build-support/rust148/PKGBUILD new file mode 100644 index 00000000..436799c2 --- /dev/null +++ b/build-support/rust148/PKGBUILD @@ -0,0 +1,202 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +pkgname=('rust148' 'rust148-docs') +epoch=1 +pkgver=1.48.0 +pkgrel=1 + +_llvm_ver=11.0.0 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=(i486 i686 pentium4 'x86_64') +license=('MIT' 'Apache') + +makedepends=('rust=1:1.47.0' "llvm10-libs" "llvm=$_llvm_ver" 'libffi' 'perl' 'python' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +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=('0e763e6db47d5d6f91583284d2f989eacc49b84794d1443355b85c58d67ae43b' + 'SKIP' + '374aff82ff573a449f9aabbd330a5d0a441181c535a3599996127378112db234' + 'SKIP') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) + '474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard + 'B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg + +prepare() { + cd "rustc-$pkgver-src" + + cat >config.toml <