void-packages/srcpkgs/juCi++/template
2020-12-20 01:24:36 -03:00

36 lines
1.4 KiB
Bash

# Template file for 'juCi++'
pkgname=juCi++
version=1.6.1
revision=1
_libclangmm_commit="c807211edcd3894f0920fcc1c01476d898f93f8f"
_tiny_commit="c9c8bf810ddad8cd17882b9a9ee628a690e779f5"
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="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="9cbae04ace6b4f4a606b1dcd500c30a7232f83b21fea0201c1c37085974bd2c9
380a2e2cb31a3310c3ac31bb6778c844fe3947a216b19acbe69d415f3da4448a
0bb5bd57f1b909a08d883a5a06a15bb55cfa34b2056bc63fe26ea2d5ff13fa38"
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
}