blob: 9255fda645473821efeade905c1103d2c5d89c36 (
plain) (
tree)
|
|
# Maintainer:
pkgname=doxygen
pkgver=1.8.18
_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="32b0d9e5fbb44e947eb771f323ce4aa76f8b31e940f47dcec2af6c5e98a20b58cb4627eff6e70faac6b8cb2ad67b88b0280496310a5b784466196c22e1174233 Release_1_8_18.tar.gz
92d82c0799d7cdbb6fb37069514d7c6dbadb0c3d88409803e88180bcfcf4be9a2f346c035cd49de8f7496eed2ffd1519d96a1ec3c22db21c2dfdc4e437dada50 time64.patch"
|