aboutsummaryrefslogblamecommitdiffstats
path: root/community/kapidox/APKBUILD
blob: cf202cb1429d455ca661dc2bb1b44d21f1370792 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
             
        
                                                           


                                                                                              










                           
                                                                                       


                          
                        
                                         
                                           
                           


         
                



                                          
                                                              
 
            
                                                                                                                                                       
 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kapidox
pkgver=5.83.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="
	doxygen
	py3-jinja2
	py3-yaml
	python3
	"
makedepends="
	extra-cmake-modules
	py3-setuptools
	python3-dev
	"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kapidox-$pkgver.tar.xz"
subpackages="$pkgname-doc"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="
8cfdae155334ec60cabc984a5b597910b00cc57324afc1f4ecdd2963335324782b8e09f33a8ced0cd95746b0a764ecff13953020a3b59a8480531cfe22a6d8f8  kapidox-5.83.0.tar.xz
"