void-packages/srcpkgs/juCi++/template

38 lines
1.4 KiB
Bash

# Template file for 'juCi++'
pkgname=juCi++
version=1.7.2
revision=1
_libclangmm_commit="9704b9b6de0982a588fa41741157d5640afedf30"
_tiny_commit="839ff806dc447ff49af80f9a9eaa7949f770f8e5"
create_wrksrc=yes
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="e792ddb95328ab055b0a4b7eb18669b3337648a4a931ee6ede541c2e95a686e9
4ed79294cb67ae56a4d72e50c4188c49215df51c8b9a466fc0aeeaab2dbc7a3f
a808e5e3bdb43a04c862da968588ceffb1e46b85a32b430d5e27f243b37f5098"
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 jucipp-v$version/* .
rmdir lib/libclangmm lib/tiny-process-library
mv libclangmm-${_libclangmm_commit} ${wrksrc}/lib/libclangmm
mv tiny-process-library-${_tiny_commit} lib/tiny-process-library
}
post_install() {
vlicense LICENSE
}