[arch-commits] Commit in ccls/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri May 28 07:10:08 UTC 2021
Date: Friday, May 28, 2021 @ 07:10:07
Author: foutrelis
Revision: 949254
archrelease: copy trunk to community-staging-x86_64
Added:
ccls/repos/community-staging-x86_64/
ccls/repos/community-staging-x86_64/PKGBUILD
(from rev 949253, ccls/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: ccls/repos/community-staging-x86_64/PKGBUILD (from rev 949253, ccls/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-05-28 07:10:07 UTC (rev 949254)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Fangrui Song <i at maskray.me>
+
+pkgname=ccls
+pkgver=0.20210330
+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'
+license=('Apache')
+depends=('clang=12.0.0' '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