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

Evangelos Foutras foutrelis at archlinux.org
Wed Feb 17 18:20:39 UTC 2021


    Date: Wednesday, February 17, 2021 @ 18:20:39
  Author: foutrelis
Revision: 862603

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: ccls/repos/community-staging-x86_64/PKGBUILD (from rev 862602, ccls/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-02-17 18:20:39 UTC (rev 862603)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Fangrui Song <i at maskray.me>
+
+pkgname=ccls
+pkgver=0.20201219
+pkgrel=3
+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=11.1.0' 'llvm-libs' 'rapidjson')
+makedepends=("cmake" "llvm")
+conflicts=('ccls-git')
+source=("https://github.com/MaskRay/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('fba8cc1ec50e55939b2deb167d9d32e946ccab4b322766191a787719b47a39e887afad26b7364dfb40c4a4f2522964af76fc7f51a5d84c10d2b0125f07a19c5e')
+
+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