1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Maintainer: Dan McGee <dan@archlinux.org>
5 pkgname=('doxygen' 'doxygen-docs')
8 pkgdesc='Documentation system for C++, C, Java, IDL and PHP'
9 url='http://www.doxygen.nl'
12 makedepends=('cmake' 'gcc-libs' 'flex' 'qt5-base' 'texlive-core' 'ghostscript'
13 'texlive-latexextra' 'graphviz' 'python' 'git')
14 source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/doxygen/doxygen/archive/Release_${pkgver//./_}.tar.gz)
15 sha256sums=('c29426222c9361dc33b762cf1c6447c78cfb0b9c213e5dcdbe31a10540c918c5')
16 sha512sums=('8fcec24d7f92c0d01444cb4b64a39adbe3467b7d75bf191ab667190d4feb1c99ac796fc5b1be6ae5f386321e3d85f28d4cbee05041f048f32ef68ea773d74ff9')
17 b2sums=('81451704cdf1676db58ad7706c06bc5587f8fdcd8e10b17d0909c1a288c6d92d6080334544b7c7ae88e1fe459511e9f2da8781672e9856c03e4c553f5c1f1e49')
20 cd ${pkgbase}-Release_${pkgver//./_}
21 # Install the man pages in the right place
22 sed -i 's:DESTINATION man/man1:DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1":g' \
27 cd ${pkgbase}-Release_${pkgver//./_}
30 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
31 -DDOC_INSTALL_DIR:PATH=share/doc/doxygen \
32 -DPYTHON_EXECUTABLE:FILE=/usr/bin/python \
34 -Dbuild_wizard:BOOL=ON
36 make -C build docs -j1
40 cd ${pkgbase}-Release_${pkgver//./_}
45 pkgdesc='Documentation system for C++, C, Java, IDL and PHP'
47 optdepends=('graphviz: for caller/callee graph generation'
48 'qt5-base: for doxywizard')
50 cd ${pkgbase}-Release_${pkgver//./_}
51 make -C build DESTDIR="${pkgdir}" install
53 rm -rf "${pkgdir}/usr/share/doc"
56 package_doxygen-docs() {
57 pkgdesc='Developer documentation for doxygen'
59 cd ${pkgbase}-Release_${pkgver//./_}
60 make -C build DESTDIR="${pkgdir}" install
62 rm -rf "${pkgdir}/usr/bin"
63 rm -rf "${pkgdir}/usr/share/man"