[arch-commits] Commit in ccls/repos (community-x86_64 community-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Feb 12 13:42:22 UTC 2020


    Date: Wednesday, February 12, 2020 @ 13:42:20
  Author: felixonmars
Revision: 569329

archrelease: copy trunk to community-x86_64

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

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

Copied: ccls/repos/community-x86_64/PKGBUILD (from rev 569328, ccls/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-02-12 13:42:20 UTC (rev 569329)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Fangrui Song <i at maskray.me>
+
+pkgname=ccls
+pkgver=0.20190823.5
+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' 'llvm-libs' 'rapidjson')
+makedepends=("cmake" "llvm")
+conflicts=('ccls-git')
+source=("https://github.com/MaskRay/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('6f39fa5ce79c1682973811ce2409718710bfef6008f94f96277393e6846bd76c')
+
+prepare() {
+  cd $pkgname-$pkgver
+}
+
+build() {
+  cd $pkgname-$pkgver
+  cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER=clang++
+  cmake --build build
+}
+
+package() {
+  cd $pkgname-$pkgver/build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list