[arch-commits] Commit in doxygen/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Wed Apr 29 08:32:09 UTC 2020


    Date: Wednesday, April 29, 2020 @ 08:32:07
  Author: anthraxx
Revision: 381822

upgpkg: doxygen 1.8.18-1

Modified:
  doxygen/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-29 08:20:14 UTC (rev 381821)
+++ PKGBUILD	2020-04-29 08:32:07 UTC (rev 381822)
@@ -3,7 +3,7 @@
 
 pkgbase=doxygen
 pkgname=('doxygen' 'doxygen-docs')
-pkgver=1.8.17
+pkgver=1.8.18
 pkgrel=1
 pkgdesc='Documentation system for C++, C, Java, IDL and PHP'
 url='http://www.doxygen.nl'
@@ -12,12 +12,11 @@
 makedepends=('cmake' 'gcc-libs' 'flex' 'qt5-base' 'texlive-core' 'ghostscript'
              'texlive-latexextra' 'graphviz' 'python2' 'git')
 source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/doxygen/doxygen/archive/Release_${pkgver//./_}.tar.gz)
-sha256sums=('1b5d337e4b73ef1357a88cbd06fc4c301f08f279dac0adb99e876f4d72361f4f')
-sha512sums=('c8315c0e2a22e339e8c6e6a8f2992440989b7164bab1996036cb8ab1b917f8d0f7b352b3ce7ff54944a0c51edd6af779653b8c13721647ba3c168e231655afa0')
+sha256sums=('9c88f733396dca16139483045d5afa5bbf19d67be0b8f0ea43c4e813ecfb2aa2')
+sha512sums=('32b0d9e5fbb44e947eb771f323ce4aa76f8b31e940f47dcec2af6c5e98a20b58cb4627eff6e70faac6b8cb2ad67b88b0280496310a5b784466196c22e1174233')
 
 prepare() {
   cd ${pkgbase}-Release_${pkgver//./_}
-  mkdir -p 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
@@ -24,21 +23,21 @@
 }
 
 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 \
     -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
+  cd ${pkgbase}-Release_${pkgver//./_}
+  make -C build tests
 }
 
 package_doxygen() {
@@ -47,8 +46,8 @@
   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
 
   rm -rf "${pkgdir}/usr/share/doc"
 }
@@ -56,8 +55,8 @@
 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"



More information about the arch-commits mailing list