diff options
Diffstat (limited to 'community/kapidox/APKBUILD')
-rw-r--r-- | community/kapidox/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/kapidox/APKBUILD b/community/kapidox/APKBUILD new file mode 100644 index 0000000000..aa2c2d66bd --- /dev/null +++ b/community/kapidox/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kapidox +pkgver=5.60.0 +pkgrel=0 +arch="noarch" +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%.*}/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-doc" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="f2ee7a486a3740ad2124f95264f83242b07454f189defc8eefac1cb20e7b6b1c37c579fd8b620148ee2197b8473d3a5a80e773fb0f0abd2f6cdfca7a4a1bcea6 kapidox-5.60.0.tar.xz" |