From 62eea7b6e75a4aad248f47437bb2941eb3225e72 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 19 Apr 2020 13:04:03 +0200 Subject: build-support/rust141: better patching of typenum U/P1024 --- build-support/rust141/PKGBUILD | 217 ++++++++++++++++++++++++++++++++ build-support/rust141/config.toml.patch | 26 ++++ 2 files changed, 243 insertions(+) create mode 100644 build-support/rust141/PKGBUILD create mode 100644 build-support/rust141/config.toml.patch (limited to 'build-support/rust141') diff --git a/build-support/rust141/PKGBUILD b/build-support/rust141/PKGBUILD new file mode 100644 index 00000000..c99ca4f9 --- /dev/null +++ b/build-support/rust141/PKGBUILD @@ -0,0 +1,217 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +pkgname=('rust141' 'rust141-docs') +epoch=1 +pkgver=1.41.0 +pkgrel=1 + +_llvm_ver=9.0.1 + +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=('rust140' "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=('5546822c09944c4d847968e9b7b3d0e299f143f307c00fa40e84a99fabf8d74b' + 'SKIP' + 'c2bfab95c9986318318363d7f371a85a95e333bc0b34fbfa52edbd3f5e3a9077' + 'SKIP') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) + '474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard + 'B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg + +prepare() { + cd "rustc-$pkgver-src" + + cat >config.toml <