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

Evangelos Foutras foutrelis at archlinux.org
Sat Apr 11 07:33:52 UTC 2020


    Date: Saturday, April 11, 2020 @ 07:33:52
  Author: foutrelis
Revision: 379999

upgpkg: lldb 10.0.0-1: new upstream release

Modified:
  lldb/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-11 07:29:19 UTC (rev 379998)
+++ PKGBUILD	2020-04-11 07:33:52 UTC (rev 379999)
@@ -2,7 +2,7 @@
 # Contributor: Jan "heftig" Steffens <jan.steffens at gmail.com>
 
 pkgname=lldb
-pkgver=9.0.1
+pkgver=10.0.0
 pkgrel=1
 pkgdesc="Next generation, high-performance debugger"
 arch=('x86_64')
@@ -9,15 +9,10 @@
 url="https://lldb.llvm.org/"
 license=('custom:Apache 2.0 with LLVM Exception')
 depends=('llvm-libs' 'clang' 'python' 'python-six')
-makedepends=('llvm' 'cmake' 'ninja' 'swig')
-
-_source_base=https://releases.llvm.org/$pkgver
-if [[ ${pkgver##*.} != 0 ]]; then
-  _source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
-fi
-
+makedepends=('llvm' 'cmake' 'ninja' 'swig' 'python-sphinx')
+_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
 source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig})
-sha256sums=('8a7b9fd795c31a3e3cba6ce1377a2ae5c67376d92888702ce27e26f0971beb09'
+sha256sums=('dd1ffcb42ed033f5167089ec4c6ebe84fbca1db4a9eaebf5c614af09d89eb135'
             'SKIP')
 validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans at chromium.org>
 validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar at redhat.com>
@@ -34,8 +29,10 @@
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DLLVM_LINK_LLVM_DYLIB=ON \
+    -DCLANG_LINK_CLANG_DYLIB=ON \
+    -DLLVM_ENABLE_SPHINX=ON \
     -DLLDB_USE_SYSTEM_SIX=1
-  ninja
+  ninja all docs-lldb-man
 }
 
 package() {
@@ -44,8 +41,7 @@
   DESTDIR="$pkgdir" ninja install
   install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 
-  # Install possibly outdated man page; better than nothing!
-  install -Dm644 ../docs/lldb.1 "$pkgdir/usr/share/man/man1/lldb.1"
+  install -Dm644 docs/man/lldb.1 "$pkgdir/usr/share/man/man1/lldb.1"
 
   # Compile Python scripts
   python3 -m compileall "$pkgdir"



More information about the arch-commits mailing list