1 # Template file for 'cmake-gui'
5 wrksrc="cmake-${version}"
7 configure_args="--prefix=/usr --mandir=/share/man --docdir=/share/doc/cmake
8 --system-libs --qt-gui ${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}"
9 hostmakedepends="qt5-devel"
10 makedepends="jsoncpp-devel libarchive-devel libcurl-devel libuv-devel
11 ncurses-devel qt5-devel rhash-devel"
12 depends="desktop-file-utils shared-mime-info"
13 short_desc="Cross-platform, open-source build system - Qt GUI"
14 maintainer="Juan RP <xtraeme@voidlinux.eu>"
15 license="LGPL-2.1-or-later, BSD-3-Clause"
16 homepage="https://www.cmake.org"
17 distfiles="https://www.cmake.org/files/v${version%.*}/cmake-$version.tar.gz"
18 checksum=287135b6beb7ffc1ccd02707271080bbf14c21d80c067ae2c0040e5f3508c39a
22 # We are only interested in cmake-gui.
23 make DESTDIR=${wrksrc}/${pkgname} install
25 vbin ${pkgname}/usr/bin/cmake-gui
28 cp -a ${pkgname}/usr/share/{applications,mime,icons} ${DESTDIR}/usr/share
30 vmkdir usr/share/licenses # no vlicense
31 mv ${pkgname}/usr/share/doc/cmake ${DESTDIR}/usr/share/licenses/cmake-gui