blob: b1f5414e211189c3990996688ad99a000a774785 (
plain) (
tree)
|
|
# Maintainer:
pkgname=doxygen
pkgver=1.8.15
_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() {
cd "$builddir"
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() {
cd "$builddir"
# Remove test that use bibtex
rm -f ./testing/012_cite.dox
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="bc3ea295b894a73324bf41408d05332bc480638840b62fac6f12493be15de29eedd4e7f2d7ad61e0db36623887ca364eda5eb5e46d9b91a4241240cb380b07d5 Release_1_8_15.tar.gz
725a29a6f21ffc8ec6ca8ed6d746a69cc78060e97704c7fe909abee603ba0a99f27dc3b80c414afd886d0ee81d9948b13f29c43f7db2e00aae8c0c3a32aa9ec1 doxygen-1.8.14-install.patch"
|