void-packages/srcpkgs/juCi++/template
2020-05-09 01:31:21 +02:00

36 lines
1.4 KiB
Bash

# Template file for 'juCi++'
pkgname=juCi++
version=1.5.0
revision=5
_libclangmm_commit="687b9c231d850504ec515acb9ccab73f26c34063"
_tiny_commit="a6773276efdbc322f1abb0159301f5502647eb52"
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="178f25db2105ee35db0a1b9a4a19205c737b416adda7d05d3b34a2b7cecd3c87
bdc4ecf59f5de2a3ade04fac1c298b87c1af59653eaa2993d45adc0fa7d8389d
99e0c1a2ddc59bbb30f0e6cccd9669ddc79952d4aa54ae1d6c72f9d1cf297231"
nocross=yes #clang cannot be installed as makedepends when cross compiling
case "$XBPS_TARGET_MACHINE" in
ppc64le*) ;;
ppc*) broken="missing lldb";;
esac
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
}