summaryrefslogtreecommitdiff
path: root/user/doxygen/APKBUILD
blob: 69a89354fa785165346870e58d9ea57c8d768cd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: 
pkgname=doxygen
pkgver=1.8.20
_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
	time64.patch
	"
builddir="$srcdir/doxygen-Release_$_pkgver"

build() {
	cmake .\
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-Dbuild_xmlparser=ON \
		-DMAN_INSTALL_DIR=share/man/man1 \
		-DDOC_INSTALL_DIR=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="25509cec8904b10431cf3d29f6e6bbdad49fbf3a763606b30c92c111f294ac0311aa13d53007d71ff1f55fcae6903e2ce8f80d1a6b4832fa43f6a9166184e005  Release_1_8_20.tar.gz
92d82c0799d7cdbb6fb37069514d7c6dbadb0c3d88409803e88180bcfcf4be9a2f346c035cd49de8f7496eed2ffd1519d96a1ec3c22db21c2dfdc4e437dada50  time64.patch"