PKGBUILDs/community/java-batik/PKGBUILD

27 lines
837 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Simon Lipp <sloonz+aur@gmail.com>
pkgname=java-batik
pkgver=1.7
pkgrel=6
pkgdesc="SVG library for Java"
arch=('i686' 'x86_64')
url="http://xmlgraphics.apache.org/batik/"
license=(APACHE)
depends=('java-commons-io' 'java-commons-logging' 'java-xmlgraphics-commons')
makedepends=('java-environment' 'apache-ant' 'unzip')
source=('http://apache.cict.fr/xmlgraphics/batik/batik-src-1.7.zip')
md5sums=('c117ca2241907f62a2b3031167ebf917')
build() {
cd $srcdir/batik-$pkgver
ant all-jar || return 1
install -d $pkgdir/usr/share/java/batik || return 1
install --mode=644 \
$srcdir/batik-$pkgver/batik-$pkgver/lib/batik-all.jar \
$pkgdir/usr/share/java/batik/ || return 1
cp -r $srcdir/batik-$pkgver/lib/*.jar \
$pkgdir/usr/share/java/batik/ || return 1
}