void-packages/srcpkgs/juCi++/template
2019-03-04 19:53:19 -03:00

31 lines
1.3 KiB
Bash

# Template file for 'juCi++'
pkgname=juCi++
version=1.4.6
revision=4
_libclangmm_commit="2b2f2ead1f685a9efb28ee2c0ff3cbe452a724dd"
_tiny_commit="54b95a21cf35f8467e21038f523fd3342a77de4c"
wrksrc="jucipp-v${version}"
build_style=cmake
hostmakedepends="pkg-config"
makedepends="aspell-devel lldb-devel clang boost-devel gtksourceviewmm-devel libgit2-devel"
depends="ctags"
short_desc="Lightweight IDE supporting the most recent C++ standards"
maintainer="John <johnz@posteo.net>"
license="MIT"
homepage="https://gitlab.com/cppit/jucipp"
distfiles="https://gitlab.com/cppit/jucipp/-/archive/v${version}/jucipp-v${version}.tar.gz
https://gitlab.com/cppit/libclangmm/-/archive/${_libclangmm_commit}/libclangmm-${_libclangmm_commit}.tar.gz
https://gitlab.com/eidheim/tiny-process-library/-/archive/${_tiny_commit}/tiny-process-library-${_tiny_commit}.tar.gz"
checksum="e46863c272b1ff153f8e834ec8f3902b8c7de01b4f1ef4d980e27e1d6e7bd1e4
8d7f83a6f4544033cd6a790cc497475521bf15ed620fbcd0014597a2d5ae6481
9f5713440aa0c1d4dcd665a1e264a1d0c6bed75edf1a80996b1f6e2231184d1e"
nocross=yes #clang cannot be installed as makedepends when cross compiling
post_extract() {
mv ${wrksrc}/../libclangmm-${_libclangmm_commit}/* ${wrksrc}/lib/libclangmm/
mv ${wrksrc}/../tiny-process-library-${_tiny_commit}/* ${wrksrc}/lib/tiny-process-library
}
post_install() {
vlicense LICENSE
}