diff options
Diffstat (limited to 'java/java-ow-util-ant-tasks')
-rw-r--r-- | java/java-ow-util-ant-tasks/PKGBUILD | 22 | ||||
-rw-r--r-- | java/java-ow-util-ant-tasks/SRCBUILD | 29 |
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..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') 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') |