summaryrefslogblamecommitdiff
path: root/user/doxygen/APKBUILD
blob: eefc391ce948f618f4fc587dd65c1498d58a57a0 (plain) (tree)
1
2
3
4
5
6

               
             

                                    
        






                                                               
                                                                          
                                    
                    
         
                                           

         










                                                        

                                     
                                              


           


                                      
                                                                                                                                                                   

                                                                                                                                                              
# Maintainer: 
pkgname=doxygen
pkgver=1.8.16
_pkgver=${pkgver%.*.*}_${pkgver#*.}
_pkgver=${_pkgver%.*}_${pkgver#*.*.}
pkgrel=1
pkgdesc="A documentation system for C++, C, Java, IDL, and PHP"
url="http://www.doxygen.org/"
arch="all"
license="GPL-2.0-only"
depends=""
makedepends="bison cmake coreutils flex perl python3"
checkdepends="libxml2-utils"
source="https://github.com/doxygen/doxygen/archive/Release_$_pkgver.tar.gz
	doxygen-1.8.14-install.patch
	time64.patch
	"
builddir="$srcdir/doxygen-Release_$_pkgver"

build() {
	cmake .\
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-Dbuild_xmlparser=ON \
		-DMAN_INSTALL_DIR=/usr/share/man/man1 \
		-DDOC_INSTALL_DIR=/usr/share/doc/doxygen

	make
}

check() {
	# Remove test that use bibtex
	rm -f ./testing/012_cite.dox
	CTEST_OUTPUT_ON_FAILURE=true make test
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="546ceaae949cf5cc8162309bc804dad7a00b970c14a2dd66d27111e03f2fbebfec299ddc559f8c915ed00776217d2c439843806d2b6c15b58cf29f490979bd8f  Release_1_8_16.tar.gz
725a29a6f21ffc8ec6ca8ed6d746a69cc78060e97704c7fe909abee603ba0a99f27dc3b80c414afd886d0ee81d9948b13f29c43f7db2e00aae8c0c3a32aa9ec1  doxygen-1.8.14-install.patch
92d82c0799d7cdbb6fb37069514d7c6dbadb0c3d88409803e88180bcfcf4be9a2f346c035cd49de8f7496eed2ffd1519d96a1ec3c22db21c2dfdc4e437dada50  time64.patch"