summaryrefslogtreecommitdiff
path: root/java/java-ow-util-ant-tasks
diff options
context:
space:
mode:
Diffstat (limited to 'java/java-ow-util-ant-tasks')
-rw-r--r--java/java-ow-util-ant-tasks/PKGBUILD22
-rw-r--r--java/java-ow-util-ant-tasks/SRCBUILD29
2 files changed, 18 insertions, 33 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')
diff --git a/java/java-ow-util-ant-tasks/SRCBUILD b/java/java-ow-util-ant-tasks/SRCBUILD
deleted file mode 100644
index 01241907d..000000000
--- a/java/java-ow-util-ant-tasks/SRCBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# 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')
-source=("http://download.forge.objectweb.org/monolog/ow_util_ant_tasks_$pkgver.zip")
-noextract=("ow_util_ant_tasks_$pkgver.zip")
-
-build() {
- cd "$srcdir"
- mkdir $pkgname-$pkgver
- cd $pkgname-$pkgver
- bsdtar xf "$srcdir"/ow_util_ant_tasks_$pkgver.zip
- rm -rf output
- rm externals/*
-}
-
-
-package() {
- PKGEXT=${SRCEXT}
- PKGDEST=${SRCDEST}
- cp -a "$srcdir/$pkgname-$pkgver" "$pkgdir/"
-}
-
-md5sums=('cd602bf75a0feab480fa97739955b84e')