aboutsummaryrefslogblamecommitdiffstats
path: root/community/kdoctools/APKBUILD
blob: 27072e7bc027f63fe070f22c52f4c644f221a621 (plain) (tree)
1
2
3
4
5
6
7


                                                  
             
        
                                               
                                                        




                                                                                         
                                                                                         


                                                     
                        
                                         


                                             
                           


         
                




                                          
                                                              

 
            
                                                                                                                                                         
 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdoctools
pkgver=5.84.0
pkgrel=0
pkgdesc="Documentation generation from docbook"
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-only OR LGPL-3.0-only"
depends="docbook-xml docbook-xsl"
depends_dev="qt5-qtbase-dev ki18n-dev karchive-dev libxslt-dev libxml2-dev libxml2-utils"
makedepends="$depends_dev extra-cmake-modules doxygen graphviz perl-uri qt5-qttools-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kdoctools-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_QCH=ON
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}


package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="
6ac82dd14844e3c1857d566eb0b90bac27fc13275b9e74989da94fd844c6a2cfbd3c7604e1a71ad50cb1f8a9e4e1405c92b12a6d99b4a82b6ee10cab6341ab81  kdoctools-5.84.0.tar.xz
"