diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-03-05 00:25:01 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-03-05 00:25:01 -0500 |
commit | c35cb9bfafc3dd7c7294aeb1a6e0b0d8c0562b0f (patch) | |
tree | 8d7266cc45b343309fe6d14d905a4b905d405f81 /libre/java-ow-util-ant-tasks | |
parent | 061da5af0a448dfba14f2a4a042828174616bbd2 (diff) |
mv libre/java-asm{,3}; add libre/java-asm2 libre/java-ow-util-ant-tasks
java-asm* makedepend on java-ow-util-ant-tasks, java-ow-utl-ant-tasks
makedepends on java-asm2
Diffstat (limited to 'libre/java-ow-util-ant-tasks')
-rw-r--r-- | libre/java-ow-util-ant-tasks/PKGBUILD | 27 | ||||
-rw-r--r-- | libre/java-ow-util-ant-tasks/SRCBUILD | 29 |
2 files changed, 56 insertions, 0 deletions
diff --git a/libre/java-ow-util-ant-tasks/PKGBUILD b/libre/java-ow-util-ant-tasks/PKGBUILD new file mode 100644 index 000000000..023048188 --- /dev/null +++ b/libre/java-ow-util-ant-tasks/PKGBUILD @@ -0,0 +1,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') diff --git a/libre/java-ow-util-ant-tasks/SRCBUILD b/libre/java-ow-util-ant-tasks/SRCBUILD new file mode 100644 index 000000000..01241907d --- /dev/null +++ b/libre/java-ow-util-ant-tasks/SRCBUILD @@ -0,0 +1,29 @@ +# 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') |