# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kapidox pkgver=5.66.0 pkgrel=0 arch="noarch !armhf" # armhf blocked by extra-cmake-modules pkgdesc="Scripts and data for building API documentation (dox) in a standard format and style" url="https://community.kde.org/Frameworks" license="BSD-3-Clause" depends="python3 py3-yaml py3-jinja2 doxygen" makedepends="extra-cmake-modules python3-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kapidox-$pkgver.tar.xz" subpackages="$pkgname-doc" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="e6c75780ca4de1c96f9b0874aec00d338e4f8d5d6825d5699b296077bc029419ccc3f0b757a76bb22612f47f377df9fb7f089d464d049b605faa3c917b838238 kapidox-5.66.0.tar.xz"