summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShengyu Zhang2018-02-03 16:22:34 +0800
committerShengyu Zhang2018-02-03 16:22:34 +0800
commitd6d9bd9d7aed179e87d868b094ac9fb23c5c68d7 (patch)
tree72b283a32b45cff4d2824f6c70f558f090934b0f
parent23fe0b07047d887cb4a4002f53a421479cb1685c (diff)
downloadaur-d6d9bd9d7aed179e87d868b094ac9fb23c5c68d7.tar.gz
upgpkg: cquery v20180203-1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD21
2 files changed, 14 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fe592439aa5..c7816d1ac85 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Jan 28 04:58:39 UTC 2018
+# Sat Feb 3 08:22:24 UTC 2018
pkgbase = cquery
pkgdesc = Low-latency vscode language server for large C++ code-bases, powered by libclang.
- pkgver = v20180123@1825
+ pkgver = v20180203
pkgrel = 1
url = https://github.com/cquery-project/cquery/
arch = x86_64
@@ -12,13 +12,13 @@ pkgbase = cquery
makedepends = llvm
depends = clang
conflicts = cquery-git
- source = https://github.com/cquery-project/cquery/archive/v2018-01-23@1825.tar.gz
+ source = https://github.com/cquery-project/cquery/archive/v20180203.tar.gz
source = git+https://github.com/miloyip/rapidjson
source = git+https://github.com/onqtam/doctest
source = git+https://github.com/greg7mdp/sparsepp
source = git+https://github.com/emilk/loguru
source = git+https://github.com/msgpack/msgpack-c
- sha256sums = ff0a156638e582e7dd6af6ac5c4c364a07b216790308e1f80a982802854c85e7
+ sha256sums = 78ab675b329042ed787bffed68a12172e5a0f5a42c3e4acffa9477fb1f9bd850
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 4ac0a9316de..f8acf54de03 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,8 @@
-# Maintainer: Shengyu Zhagn <la@archlinuxcn.org>
+# Maintainer: Shengyu Zhang <la@archlinuxcn.org>
pkgname=cquery
-_pkgver=v2018-01-23@1825
-pkgver=${_pkgver//-/}
-__pkgver=${_pkgver/@/-}
-__pkgver=${__pkgver:1}
+pkgver=v20180203
+__pkgver=${pkgver:1}
pkgrel=1
pkgdesc='Low-latency vscode language server for large C++ code-bases, powered by libclang.'
arch=('x86_64')
@@ -13,14 +11,14 @@ license=('MIT')
depends=('clang')
makedepends=('git' 'python' 'llvm')
conflicts=('cquery-git')
-source=("https://github.com/cquery-project/$pkgname/archive/$_pkgver.tar.gz"
+source=("https://github.com/cquery-project/$pkgname/archive/$pkgver.tar.gz"
'git+https://github.com/miloyip/rapidjson'
'git+https://github.com/onqtam/doctest'
'git+https://github.com/greg7mdp/sparsepp'
'git+https://github.com/emilk/loguru'
'git+https://github.com/msgpack/msgpack-c'
)
-sha256sums=('ff0a156638e582e7dd6af6ac5c4c364a07b216790308e1f80a982802854c85e7'
+sha256sums=('78ab675b329042ed787bffed68a12172e5a0f5a42c3e4acffa9477fb1f9bd850'
'SKIP'
'SKIP'
'SKIP'
@@ -40,16 +38,17 @@ prepare() {
build() {
cd $pkgname-$__pkgver
- python waf configure --prefix="$pkgdir/usr" --use-system-clang
- python waf build
+ # --variant=custom will not add extra CXXFLAGS
+ python waf configure --variant=custom --prefix="$pkgdir/usr" --llvm-config=/usr/bin/llvm-config
+ python waf build --variant=custom
}
check() {
cd $pkgname-$__pkgver
- yes | build/release/bin/cquery --test-unit --test-index --clang-sanity-check
+ yes | build/custom/bin/cquery --test-unit --test-index --clang-sanity-check
}
package() {
cd $pkgname-$__pkgver
- python waf install
+ python waf install --variant=custom
}