Peter Jung pushed to branch main at Arch Linux / Packaging / Packages / ccls


Commits:
2c746c39 by Peter Jung at 2025-06-04T16:52:52+02:00
upgpkg: 0.20241108-2, LLVM 20 rebuild

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = ccls
        pkgdesc = C/C++/ObjC language server supporting cross references, 
hierarchies, completion and semantic highlighting
        pkgver = 0.20241108
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/MaskRay/ccls
        arch = x86_64
        license = Apache-2.0
@@ -15,6 +15,8 @@ pkgbase = ccls
        depends = llvm-libs
        conflicts = ccls-git
        source = 
https://github.com/MaskRay/ccls/archive/0.20241108/ccls-0.20241108.tar.gz
+       source = 
llvm-20.patch::https://github.com/MaskRay/ccls/commit/4331c8958698d42933bf4e132f8a7d61f3cedb8c.patch
        sha512sums = 
b271b175ea64eb10a052789c5527135b5aff7f9088aa20158895263262c1c93541cc4f987e7d7a73b702db0b85f9366ed57a9b38bf1e245e50f3c4e3eeed7277
+       sha512sums = 
942d425e590051e3bb7abd2341b9e18d03a401d6245cab9bb1a44bfb205b99c7ca39d89a1687e457788d02564b311a0d348b470f60e747b7ca7749c75fb5ca62
 
 pkgname = ccls


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=ccls
 pkgver=0.20241108
-pkgrel=1
+pkgrel=2
 pkgdesc='C/C++/ObjC language server supporting cross references, hierarchies, 
completion and semantic highlighting'
 arch=('x86_64')
 url='https://github.com/MaskRay/ccls'
@@ -11,9 +11,15 @@ license=('Apache-2.0')
 depends=('clang' 'gcc-libs' 'glibc' 'llvm-libs')
 makedepends=('cmake' 'ninja' 'llvm' 'rapidjson')
 conflicts=('ccls-git')
-source=("https://github.com/MaskRay/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('b271b175ea64eb10a052789c5527135b5aff7f9088aa20158895263262c1c93541cc4f987e7d7a73b702db0b85f9366ed57a9b38bf1e245e50f3c4e3eeed7277')
+source=("https://github.com/MaskRay/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz";
+        
"llvm-20.patch::https://github.com/MaskRay/ccls/commit/4331c8958698d42933bf4e132f8a7d61f3cedb8c.patch";)
+sha512sums=('b271b175ea64eb10a052789c5527135b5aff7f9088aa20158895263262c1c93541cc4f987e7d7a73b702db0b85f9366ed57a9b38bf1e245e50f3c4e3eeed7277'
+            
'942d425e590051e3bb7abd2341b9e18d03a401d6245cab9bb1a44bfb205b99c7ca39d89a1687e457788d02564b311a0d348b470f60e747b7ca7749c75fb5ca62')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 < ../llvm-20.patch
+}
 build() {
   cd $pkgname-$pkgver
   cmake . -GNinja -Bbuild -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_CXX_COMPILER=clang++ -DCLANG_LINK_CLANG_DYLIB=1



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ccls/-/commit/2c746c39beb91a45baf5bad52073152c22a08e41

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ccls/-/commit/2c746c39beb91a45baf5bad52073152c22a08e41
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to