# $Id: PKGBUILD 136084 2011-08-22 14:13:59Z dan $ # Maintainer: Dan McGee pkgbase=doxygen pkgname=('doxygen' 'doxygen-docs') pkgver=1.7.5.1 pkgrel=1 license=('GPL') arch=(i686 x86_64) url="http://www.doxygen.org/" makedepends=('gcc-libs' 'flex' 'qt' 'texlive-core' 'ghostscript' 'texlive-latexextra') source=(ftp://ftp.stack.nl/pub/users/dimitri/${pkgname}-${pkgver}.src.tar.gz) md5sums=('f5355c442c5bc2481dbef7fdea8f0556') sha1sums=('15671defd1eefe255aa564b6f3097e30ab07ff55') build() { cd "${srcdir}/${pkgbase}-${pkgver}" QTDIR=/usr ./configure --prefix /usr --with-doxywizard make } package_doxygen() { pkgdesc="A documentation system for C++, C, Java, IDL and PHP" depends=('gcc-libs') optdepends=('graphviz: for caller/callee graph generation' 'qt: for doxywizard') cd "${srcdir}/${pkgbase}-${pkgver}" make INSTALL="${pkgdir}"/usr MAN1DIR=share/man/man1 install } package_doxygen-docs() { pkgdesc="Developer documentation for doxygen" cd "${srcdir}/${pkgbase}-${pkgver}" make INSTALL="${pkgdir}"/usr MAN1DIR=share/man/man1 install_docs }