[arch-commits] Commit in ccls/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Mon Feb 7 23:19:42 UTC 2022


    Date: Monday, February 7, 2022 @ 23:19:42
  Author: foutrelis
Revision: 1128914

archrelease: copy trunk to community-staging-x86_64

Added:
  ccls/repos/community-staging-x86_64/
  ccls/repos/community-staging-x86_64/PKGBUILD
    (from rev 1128913, ccls/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: ccls/repos/community-staging-x86_64/PKGBUILD (from rev 1128913, ccls/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-02-07 23:19:42 UTC (rev 1128914)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Fangrui Song <i at maskray.me>
+
+pkgname=ccls
+pkgver=0.20210330
+pkgrel=5
+pkgdesc='C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting'
+arch=('x86_64')
+url='https://github.com/MaskRay/ccls'
+license=('Apache')
+depends=('clang=13.0.1' 'llvm-libs' 'rapidjson')
+makedepends=("cmake" "llvm")
+conflicts=('ccls-git')
+source=("https://github.com/MaskRay/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('dd78c040c2a51d6b47f8dd2d8bdc0661111f26b9233ffeb41216254b1b0ad0f634190784e6b8c2d7b36475c13020356342d83a9f80047d7da75ce21ca8885b16')
+
+build() {
+  cd $pkgname-$pkgver
+  cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER=clang++ -DCLANG_LINK_CLANG_DYLIB=1
+  cmake --build build
+}
+
+package() {
+  cd $pkgname-$pkgver/build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list