updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / fop-svn / PKGBUILD
blob3b5d68591d6df2ddb950a0e1785ff79e7932d060
1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
2 # Contributor: Simon Lipp <sloonz+aur@gmail.com>
4 pkgname=fop-svn
5 pkgver=r924863
6 pkgrel=2
7 pkgdesc="XSL-FO implementation in Java"
8 arch=('any')
9 url="http://xmlgraphics.apache.org/fop/"
10 license=('APACHE')
11 depends=('java-xmlgraphics-commons-svn' 'java-commons-logging'
12   'java-commons-io' 'java-batik' 'java-avalon-framework')
13 makedepends=('apache-ant' 'java-environment')
14 source=('fop.conf')
15 md5sums=('6ee5aa760e5a3403fa9b37dfc51b333f')
16 provides=('fop')
17 conflicts=('fop')
19 build() {
20   mkdir $srcdir/$pkgname-$pkgver
21   cd $srcdir/$pkgname-$pkgver
22   svn co http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk
23   cd 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