rtags: update to 2.18.

- don't use git submodules directly
- cleanup deps
This commit is contained in:
Rasmus Thomsen 2018-09-20 19:41:54 +02:00 committed by Enno Boland
parent 15ff60a888
commit 160cff19c5

View File

@ -1,20 +1,38 @@
# Template file for 'rtags'
pkgname=rtags
version=2.16
revision=3
version=2.18
revision=1
_Selene_hash=1b6b3ff9ecea0e5ef0df1dfbdb03028d2264ff20
_rct_hash=b3e6f41d9844ef64420e628e0c65ed98278a843a
_lua_hash=fcdc5efb13f0d6c03d2868b7476b73e63a291ed3
nocross=yes
wrksrc="${pkgname}"
build_style=cmake
# Don't run tests in do_install, please.
configure_args="-DSKIP_CTEST=TRUE"
make_build_args="VERBOSE=1"
makedepends="pkg-config git clang llvm libressl-devel zlib-devel"
hostmakedepends="pkg-config clang"
makedepends="llvm libressl-devel zlib-devel"
checkdepends="perl"
short_desc="A C/C++ indexer with integration for Emacs based on clang"
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/Andersbakken/rtags"
distfiles="https://github.com/Andersbakken/rtags/archive/v${version}.tar.gz
https://github.com/jeremyong/Selene/archive/${_Selene_hash}.tar.gz>Selene.tar.gz
https://github.com/Andersbakken/rct/archive/${_rct_hash}.tar.gz>rct.tar.gz
https://github.com/LuaDist/lua/archive/${_lua_hash}.tar.gz>lua-cmake.tar.gz"
checksum="c2c5664f16a3986733d40197d6b39866a52a263d1ff7bca5453800f1c35d9269
461aea8050cc89f2c05bb6feb27994ea877d9669e360e98567a03cb09532c696
e9cae157bb8dabeef024b479ffd8098bc4d087dbd3d873753f23242903a7747b
6bd8c953c8fcf8957598c8a80f7fb635399bc33d64ab3158a9aa161f3da09ff5"
do_fetch() {
git clone ${homepage}
cd ${wrksrc}
git checkout v${version}
git submodule update --init --recursive
pre_configure() {
mv ../Selene-${_Selene_hash}/* src/selene
mv ../rct-${_rct_hash}/* src/rct
mv ../lua-${_lua_hash}/* src/lua
}
do_check() {
# Tests are broken in chroot
:
}