summaryrefslogblamecommitdiff
path: root/user/doxygen/APKBUILD
blob: 881e6156d16a66b8d3186f20df68d8e7d28acb4e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13

               
             

                                    







                                                               
                                                                          

                                    
                                           

         










                                                        





                                     


                                      
                                                                                                                                                                   
                                                                                                                                                               
# Maintainer: 
pkgname=doxygen
pkgver=1.8.16
_pkgver=${pkgver%.*.*}_${pkgver#*.}
_pkgver=${_pkgver%.*}_${pkgver#*.*.}
pkgrel=0
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
	"
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
	make test
}

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

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