summaryrefslogtreecommitdiff
path: root/java/java-ow-util-ant-tasks/PKGBUILD
blob: 02304818893d956512a1a09dda32fa109bc1e87e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

pkgname=java-ow-util-ant-tasks
pkgver=1.3.2
pkgrel=1
pkgdesc="ObjectWeb utility Ant tasks library"
arch=('any')
url="http://forge.ow2.org/projects/monolog"
license=('LGPL')
depends=('java-environment')
makedepends=('apache-ant' 'xalan-java' 'java-asm2')
source=("http://repo.parabolagnulinux.org/sources/${pkgname}-${pkgver}-1-any.src.tar.xz")

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ln -s /usr/share/java/asm-2.jar externals
  ln -s /usr/share/java/xalan.jar externals
  ant jar
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -d "$pkgdir"/usr/share/java
  install -m644 "output/lib/ow_util_ant_tasks.jar" "$pkgdir"/usr/share/java
}

md5sums=('339b3eb4b2960473a42f5f781afbeca6')