blob: 4a3acbcd5f7f08a4e379aad4647c7a248d9f237b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $Id: PKGBUILD 202708 2013-12-25 21:15:10Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
pkgbase=doxygen
pkgname=('doxygen' 'doxygen-docs')
pkgver=1.8.6
pkgrel=1
license=('GPL')
arch=(i686 x86_64)
url="http://www.doxygen.org/"
makedepends=('gcc-libs' 'flex' 'qt4' 'texlive-core' 'ghostscript'
'texlive-latexextra' 'graphviz' 'python2')
source=(http://ftp.stack.nl/pub/users/dimitri/${pkgname}-${pkgver}.src.tar.gz
doxygen-configure-python2.patch)
md5sums=('9385dc52f0627875f8fa758e754ec674'
'a16ef06cd207292eda73801ea3835f1e')
sha1sums=('204f1b3695c73efac44a521609c5360241d64045'
'98f9f473f906c5cd363b29c65b54bbe998c0793e')
build() {
export PATH=$PATH:/usr/lib/qt4/bin
cd "${srcdir}/${pkgbase}-${pkgver}"
patch -Np1 < ../doxygen-configure-python2.patch
QTDIR=/usr/lib/qt4 ./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'
'qt4: 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
}
|