diff options
-rw-r--r-- | abs/extra/doxygen/PKGBUILD | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/abs/extra/doxygen/PKGBUILD b/abs/extra/doxygen/PKGBUILD index 8d22169..7a1804b 100644 --- a/abs/extra/doxygen/PKGBUILD +++ b/abs/extra/doxygen/PKGBUILD @@ -3,45 +3,42 @@ pkgbase=doxygen pkgname=('doxygen' 'doxygen-docs') -pkgver=1.8.14 +pkgver=1.8.20 pkgrel=1 pkgdesc='Documentation system for C++, C, Java, IDL and PHP' -url='http://www.doxygen.org/' +url='http://www.doxygen.nl' arch=('x86_64') license=('GPL') makedepends=('cmake' 'gcc-libs' 'flex' 'qt5-base' 'texlive-core' 'ghostscript' - 'texlive-latexextra' 'graphviz' 'python2') + 'texlive-latexextra' 'graphviz' 'python' 'git') source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/doxygen/doxygen/archive/Release_${pkgver//./_}.tar.gz) -sha256sums=('18bc3790b4d5f4d57cb8ee0a77dd63a52518f3f70d7fdff868a7ce7961a6edc3') -sha512sums=('e19d706be64f8c1d35d3cd12b8c35f09503213bb3f5a4aa311ef0a6a953843ebed5ac4eca52ca908222543fb9794d545bb6d88c9fc8f39e66ef22c1919c120b0') +sha256sums=('3dbdf8814d6e68233d5149239cb1f0b40b4e7b32eef2fd53de8828fedd7aca15') +sha512sums=('25509cec8904b10431cf3d29f6e6bbdad49fbf3a763606b30c92c111f294ac0311aa13d53007d71ff1f55fcae6903e2ce8f80d1a6b4832fa43f6a9166184e005') +b2sums=('d318d6c1543cbd17062231eb5a29ed129f4b743f64e4533fac355f50f944b2efa53901298730805bbecb411edbadc3f4afed76e84093257108bf8edf69d1ea00') prepare() { cd ${pkgbase}-Release_${pkgver//./_} - - mkdir build - # Install the man pages in the right place sed -i 's:DESTINATION man/man1:DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1":g' \ doc/CMakeLists.txt } build() { - cd ${pkgbase}-Release_${pkgver//./_}/build + cd ${pkgbase}-Release_${pkgver//./_} - cmake .. \ + cmake -B build \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DDOC_INSTALL_DIR:PATH=share/doc/doxygen \ - -DPYTHON_EXECUTABLE:FILE=/usr/bin/python2 \ + -DPYTHON_EXECUTABLE:FILE=/usr/bin/python \ -Dbuild_doc:BOOL=ON \ -Dbuild_wizard:BOOL=ON - - make - make docs + make -C build + make -C build docs } -check(){ - cd ${pkgbase}-Release_${pkgver//./_}/build - make tests +check() { + cd ${pkgbase}-Release_${pkgver//./_} + make -C build tests } package_doxygen() { @@ -50,18 +47,17 @@ package_doxygen() { optdepends=('graphviz: for caller/callee graph generation' 'qt5-base: for doxywizard') - cd ${pkgbase}-Release_${pkgver//./_}/build - make DESTDIR="${pkgdir}" install + cd ${pkgbase}-Release_${pkgver//./_} + make -C build DESTDIR="${pkgdir}" install - # Docs are in 'doxygen-docs' rm -rf "${pkgdir}/usr/share/doc" } package_doxygen-docs() { pkgdesc='Developer documentation for doxygen' - cd ${pkgbase}-Release_${pkgver//./_}/build - make DESTDIR="${pkgdir}" install + cd ${pkgbase}-Release_${pkgver//./_} + make -C build DESTDIR="${pkgdir}" install rm -rf "${pkgdir}/usr/bin" rm -rf "${pkgdir}/usr/share/man" |