mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
29 lines
916 B
Bash
29 lines
916 B
Bash
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
|
|
# Contributor: Simon Lipp <sloonz+aur@gmail.com>
|
|
|
|
pkgname=java-jdom
|
|
pkgver=1.1
|
|
pkgrel=6
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
pkgdesc="XML Parsing Library for Java wih contributions and tests"
|
|
url="http://www.jdom.org"
|
|
depends=('java-runtime')
|
|
makedepends=('apache-ant')
|
|
source=(http://www.jdom.org/dist/binary/jdom-$pkgver.tar.gz \
|
|
http://www.jdom.org/dist/binary/jdom-contrib-$pkgver.tar.gz \
|
|
http://www.jdom.org/dist/binary/jdom-test-$pkgver.tar.gz)
|
|
md5sums=('22745cbaaddb12884ed8ee09083d8fe2' '68b2b7a18aded719d9b18e1b1bae19db'\
|
|
'f1238379ef63e41b0ffe4b1e5b776244')
|
|
|
|
build() {
|
|
cd $srcdir
|
|
for _i in jdom jdom-contrib jdom-test
|
|
do
|
|
ln -s $_i-$pkgver $_i
|
|
cd $srcdir/${_i}-${pkgver}
|
|
./build.sh || return 1
|
|
install -D -m755 $srcdir/${_i}-$pkgver/build/$_i.jar \
|
|
$pkgdir/usr/share/java/jdom/$_i.jar || return 1
|
|
done
|
|
}
|