summaryrefslogtreecommitdiff
path: root/java/java-ow-util-ant-tasks/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'java/java-ow-util-ant-tasks/PKGBUILD')
-rw-r--r--java/java-ow-util-ant-tasks/PKGBUILD22
1 files changed, 18 insertions, 4 deletions
diff --git a/java/java-ow-util-ant-tasks/PKGBUILD b/java/java-ow-util-ant-tasks/PKGBUILD
index f1add43ea..1f94c8728 100644
--- a/java/java-ow-util-ant-tasks/PKGBUILD
+++ b/java/java-ow-util-ant-tasks/PKGBUILD
@@ -2,14 +2,27 @@
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')
+
+pkgrel=2
+arch=('any')
depends=('java-environment')
makedepends=('apache-ant' 'xalan-java' 'java-asm2')
-source=("http://repo.parabolagnulinux.org/sources/${pkgname}-${pkgver}-1-any.src.tar.xz")
+
+source=("libre://$pkgname-$pkgver.tar.gz")
+mksource=("http://download.forge.objectweb.org/monolog/ow_util_ant_tasks_$pkgver.zip")
+noextract=("ow_util_ant_tasks_$pkgver.zip")
+
+mksource() {
+ cd "$srcdir"
+ mkdir $pkgname-$pkgver
+ cd $pkgname-$pkgver
+ bsdtar xf "$srcdir"/ow_util_ant_tasks_$pkgver.zip
+ rm -rf output
+ rm externals/*
+}
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -24,4 +37,5 @@ package() {
install -m644 "output/lib/ow_util_ant_tasks.jar" "$pkgdir"/usr/share/java
}
-md5sums=('339b3eb4b2960473a42f5f781afbeca6')
+mkmd5sums=('cd602bf75a0feab480fa97739955b84e')
+md5sums=('5622ed33b43a4ba5bdc5e63a8e2b913b')