[arch-commits] Commit in lib32-llvm/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Mon Apr 13 04:24:04 UTC 2020


    Date: Monday, April 13, 2020 @ 04:24:03
  Author: foutrelis
Revision: 613607

upgpkg: lib32-llvm 10.0.0-1: new upstream release

Modified:
  lib32-llvm/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-13 04:02:57 UTC (rev 613606)
+++ PKGBUILD	2020-04-13 04:24:03 UTC (rev 613607)
@@ -3,8 +3,8 @@
 # Contributor: Jan "heftig" Steffens <jan.steffens at gmail.com>
 
 pkgname=('lib32-llvm' 'lib32-llvm-libs')
-pkgver=9.0.1
-pkgrel=2
+pkgver=10.0.0
+pkgrel=1
 arch=('x86_64')
 url="https://llvm.org/"
 license=('custom:Apache 2.0 with LLVM Execption')
@@ -11,14 +11,9 @@
 makedepends=('cmake' 'ninja' 'lib32-libffi' 'lib32-zlib' 'python' 'gcc-multilib'
              'lib32-libxml2')
 options=('staticlibs')
-
-_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_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
 source=($_source_base/llvm-$pkgver.src.tar.xz{,.sig})
-sha256sums=('00a1ee1f389f81e9979f3a640a01c431b3021de0d42278f6508391a2f0b81c9a'
+sha256sums=('df83a44b3a9a71029049ec101fb0077ecbbdf5fe41e395215025779099a98fdf'
             'SKIP')
 validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans at chromium.org>
 validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar at redhat.com>
@@ -50,7 +45,6 @@
     -DLLVM_BUILD_DOCS=OFF \
     -DLLVM_ENABLE_SPHINX=OFF \
     -DLLVM_ENABLE_DOXYGEN=OFF \
-    -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \
     -DLLVM_BINUTILS_INCDIR=/usr/include
 
   ninja all
@@ -65,7 +59,7 @@
   DESTDIR="$pkgdir" ninja install
 
   # The runtime library goes into lib32-llvm-libs
-  mv "$pkgdir"/usr/lib32/lib{LLVM,LTO}*.so* "$srcdir"
+  mv "$pkgdir"/usr/lib32/lib{LLVM,LTO,Remarks}*.so* "$srcdir"
   mv -f "$pkgdir"/usr/lib32/LLVMgold.so "$srcdir"
 
   # Fix permissions of static libs
@@ -95,7 +89,7 @@
   install -d "$pkgdir/usr/lib32"
 
   cp -P \
-    "$srcdir"/lib{LLVM,LTO}*.so* \
+    "$srcdir"/lib{LLVM,LTO,Remarks}*.so* \
     "$srcdir"/LLVMgold.so \
     "$pkgdir/usr/lib32/"
 



More information about the arch-commits mailing list