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/rust148/PKGBUILD | 202 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 202 insertions(+) create mode 100644 build-support/rust148/PKGBUILD (limited to 'build-support/rust148/PKGBUILD') 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 <