diff --git a/srcpkgs/rtags/template b/srcpkgs/rtags/template new file mode 100644 index 0000000000..d29beac9cc --- /dev/null +++ b/srcpkgs/rtags/template @@ -0,0 +1,20 @@ +# Template file for 'rtags' +pkgname=rtags +version=2.12 +revision=1 +nocross=yes +wrksrc="${pkgname}" +build_style=cmake +make_build_args="VERBOSE=1" +makedepends="pkg-config git clang llvm libressl-devel zlib-devel" +short_desc="A c/c++ indexer with integration for Emacs based on clang" +maintainer="Alexander Egorenkov " +license="GPL-3" +homepage="https://github.com/Andersbakken/rtags" + +do_fetch() { + git clone ${homepage} + cd ${wrksrc} + git checkout v${version} + git submodule update --init --recursive +}