Commit db64db70 authored by Clayton Craft's avatar Clayton Craft Committed by Leo
Browse files

testing/ccls: new aport

parent b62cfdf3
Pipeline #88852 passed with stages
in 5 minutes and 14 seconds
# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=ccls
pkgver=0.20210330
pkgrel=0
pkgdesc="C/C++/Objective-C language server"
url="https://github.com/MaskRay/ccls"
arch="all"
license="Apache-2.0"
makedepends="clang-dev clang-static cmake llvm-dev llvm-static rapidjson-dev
zlib-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/MaskRay/ccls/archive/refs/tags/$pkgver.tar.gz"
options="!check" # no tests
build() {
cmake -H. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_COMPILER=clang++ \
-DCLANG_LINK_CLANG_DYLIB=on \
-DLLVM_LINK_LLVM_DYLIB=on \
-Bbuild
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="
dd78c040c2a51d6b47f8dd2d8bdc0661111f26b9233ffeb41216254b1b0ad0f634190784e6b8c2d7b36475c13020356342d83a9f80047d7da75ce21ca8885b16 ccls-0.20210330.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment