#Packager: George Vlahavas pkgname=cmake-nogui pkgver=3.21.4 pkgrel=1gv source=("cmake-$pkgver.tar.lz") docs=("contributing.rst") options=('nosrcpack') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "cmake-nogui (cross-platform, open-source make system)" "CMake is used to control the software process using simple platform" "and compiler independent configuration files. CMake generates" "native makefiles and workspaces that can be used in the compiler" "environment of your choice." "" "This package does not include the Qt GUI. Install the cmake package" "if you want that." "" "Homepage: http://www.cmake.org" ) build() { cd $startdir/src/cmake-$pkgver mkdir cmake-build cd cmake-build ../configure \ --prefix=/usr \ --docdir=/doc/$pkgname-$pkgver \ --parallel=$numjobs \ --no-qt-gui \ --system-curl \ --system-expat \ --no-system-jsoncpp \ --system-zlib \ --system-bzip2 \ --system-libarchive || exit 1 make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg # Install preprocessed man pages instead of adding six new python packages: ( cd $startdir/pkg tar xf $startdir/src/cmake.manpages.tar.?z ) # remove redundant docbook files rm -f $startdir/pkg/usr/doc/$pkgname-$pkgver/*.docbook }