summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3463e57901e..45b5e28d149 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ccls-git
pkgdesc = C/C++ language server supporting cross references, hierarchies, completion and semantic highlighting
- pkgver = 1825.e4927d2e
+ pkgver = 20190309
pkgrel = 1
url = https://github.com/MaskRay/ccls
arch = x86_64
@@ -10,6 +10,7 @@ pkgbase = ccls-git
makedepends = llvm
depends = clang
depends = llvm-libs
+ depends = rapidjson
source = git+https://github.com/MaskRay/ccls.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 2b02b546cd0..71d00a93559 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,24 @@
pkgname=ccls-git
_pkgname=ccls
-pkgver=1825.e4927d2e
+pkgver=20190309
pkgrel=1
pkgdesc='C/C++ 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')
+depends=('clang' 'llvm-libs' 'rapidjson')
makedepends=("cmake" "git" "llvm")
source=('git+https://github.com/MaskRay/ccls.git')
md5sums=('SKIP')
pkgver() {
cd $_pkgname
- printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ TZ=UTC date -d @$(git log -1 --format=%ct) +%Y%m%d
}
prepare() {
cd $_pkgname
- git submodule update --init
}
build() {