From 0c0d003a29d743600905a1e16ebb476b4c1e227f Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 30 Dec 2019 16:09:18 +0000 Subject: [PATCH] extra/compiler-rt to 9.0.1-1 --- extra/compiler-rt/PKGBUILD | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/extra/compiler-rt/PKGBUILD b/extra/compiler-rt/PKGBUILD index a0c474202..cdf479ce7 100644 --- a/extra/compiler-rt/PKGBUILD +++ b/extra/compiler-rt/PKGBUILD @@ -5,8 +5,8 @@ # - build v5 with -DCOMPILER_RT_BUILD_BUILTINS=OFF pkgname=compiler-rt -pkgver=9.0.0 -pkgrel=2 +pkgver=9.0.1 +pkgrel=1 pkgdesc="Compiler runtime libraries for clang" arch=('x86_64') url="https://compiler-rt.llvm.org/" @@ -16,8 +16,14 @@ makedepends=('llvm' 'cmake' 'ninja' 'python') # Build 32-bit compiler-rt libraries on x86_64 (FS#41911) makedepends_x86_64=('lib32-gcc-libs') options=('staticlibs') -source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}) -sha256sums=('56e4cd96dd1d8c346b07b4d6b255f976570c6f2389697347a6c3dcb9e820d10e' + +_source_base=https://releases.llvm.org/$pkgver +if [[ ${pkgver##*.} != 0 ]]; then + _source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver +fi + +source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig}) +sha256sums=('c2bfab95c9986318318363d7f371a85a95e333bc0b34fbfa52edbd3f5e3a9077' 'SKIP') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard