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..71c5fae94 100644
--- a/java/java-ow-util-ant-tasks/PKGBUILD
+++ b/java/java-ow-util-ant-tasks/PKGBUILD
@@ -2,14 +2,29 @@
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=3
+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")
+md5sums=('f64b2aeac98508ac322a6509ba754425')
+
+mksource=("http://download.forge.objectweb.org/monolog/ow_util_ant_tasks_$pkgver.zip")
+mknoextract=("ow_util_ant_tasks_$pkgver.zip")
+mkmd5sums=('cd602bf75a0feab480fa97739955b84e')
+mksource() {
+ cd "$srcdir"
+ mkdir $pkgname-$pkgver
+ cd $pkgname-$pkgver
+ bsdtar xf ../ow_util_ant_tasks_$pkgver.zip
+ rm -rf output
+ rm externals/*
+}
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -24,4 +39,3 @@ package() {
install -m644 "output/lib/ow_util_ant_tasks.jar" "$pkgdir"/usr/share/java
}
-md5sums=('339b3eb4b2960473a42f5f781afbeca6')