1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
2 # Contributor: Simon Lipp <sloonz+aur@gmail.com>
7 pkgdesc="XSL-FO implementation in Java"
9 url="http://xmlgraphics.apache.org/fop/"
11 depends=('java-xmlgraphics-commons-svn' 'java-commons-logging'
12 'java-commons-io' 'java-batik' 'java-avalon-framework')
13 makedepends=('apache-ant' 'java-environment')
15 md5sums=('6ee5aa760e5a3403fa9b37dfc51b333f')
20 mkdir $srcdir/$pkgname-$pkgver
21 cd $srcdir/$pkgname-$pkgver
22 svn co http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk
24 /usr/share/java/apache-ant/bin/ant package || return 1
25 install -d $pkgdir/usr/share/java/fop/ || return 1
26 install -d $pkgdir/usr/bin/ || return 1
27 install -d $pkgdir/etc || return 1
28 install --mode=644 $srcdir/$pkgname-$pkgver/trunk/build/fop.jar \
29 $pkgdir/usr/share/java/fop || return 1
30 install --mode=644 $srcdir/fop.conf $pkgdir/etc || return 1
31 install $srcdir/$pkgname-$pkgver/trunk/fop $pkgdir/usr/bin/ || return 1