void-packages/srcpkgs/juCi++/template
rc-05 4001da7692 juCi++: update to 1.6.0
Closes: #24518 [via git-merge-pr]
2020-08-29 18:35:40 +02:00

36 lines
1.4 KiB
Bash

# Template file for 'juCi++'
pkgname=juCi++
version=1.6.0
revision=1
_libclangmm_commit="043d96d0bfbfe4bbb216a0954992d744a35c60ab"
_tiny_commit="953b19c4c0692b18fb729ffd30f1cc3412797cda"
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="5196b80034dea9b36b17c1d9cb4b4d5f4652095b93de5c7aa72f65e7a6170b96
04aadcdc59bc431a19c21311f52e084f73b13316b28a8272996e2d2d4a6b75dc
e4a154a8b950772cd931e384c0a19fd9151f83eb57143547f160c1933b9a6b77"
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
}