updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / java-jdom / PKGBUILD
blobcb470306b9005147d718b2b766ddae6291c2c65f
1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
2 # Contributor: Simon Lipp <sloonz+aur@gmail.com>
3 # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
5 pkgname=java-jdom
6 pkgver=1.1.1
7 pkgrel=2
8 pkgdesc="XML Parsing Library for Java with contributions and tests"
9 arch=('any')
10 url="http://www.jdom.org"
11 license=('GPL')
12 depends=('java-runtime')
13 makedepends=('apache-ant')
14 source=(http://www.jdom.org/dist/binary/jdom-$pkgver.tar.gz \
15         http://www.jdom.org/dist/binary/jdom-contrib-$pkgver.tar.gz \
16         http://www.jdom.org/dist/binary/jdom-test-$pkgver.tar.gz)
17 md5sums=('0ad116194e3101fb08fab8f6f00cc58f' \
18          '01eb3c5938d25dc10f23881c6a0b8786' \
19          '2badb19633a7b97072254f2933d24f9b')
21 build() {
22   for _i in jdom jdom-contrib jdom-test
23   do
24     pushd ${_i}
25     ./build.sh
26     popd
27   done
30 package() {
31   for _i in jdom jdom-contrib jdom-test
32   do
33     install -D -m755 ${_i}/build/${_i}.jar \
34       ${pkgdir}/usr/share/java/jdom/${_i}.jar
35   done