void-packages/srcpkgs/juCi++/template

35 lines
1.4 KiB
Bash

# Template file for 'juCi++'
pkgname=juCi++
version=1.6.2
revision=2
_libclangmm_commit="b342f4dd6de4fe509a692a4b4fcfc7e24aae9590"
_tiny_commit="c9c8bf810ddad8cd17882b9a9ee628a690e779f5"
wrksrc="jucipp-v${version}"
build_style=cmake
hostmakedepends="pkg-config"
makedepends="aspell-devel clang boost-devel gtksourceviewmm-devel libgit2-devel"
depends="ctags"
short_desc="Lightweight IDE supporting the most recent C++ standards"
maintainer="rc-05 <rc23@email.it>"
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="b2dc1d3ad6182c43dc23193e2c2ccb2c1e5eb66da361e66342f12aaeecdacad9
33f17a21b8949f93ab9cdc1ab13d239867767fe2988f040ad96f6a173f46883b
0bb5bd57f1b909a08d883a5a06a15bb55cfa34b2056bc63fe26ea2d5ff13fa38"
nocross=yes #clang cannot be installed as makedepends when cross compiling
case "$XBPS_TARGET_MACHINE" in
x86_64*|ppc64le*|aarch64*|arm*) makedepends+=" lldb-devel";;
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
}