diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-18 17:09:55 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-18 17:48:30 -0400 |
commit | bbd428cf29cf1b28325a661e7f6ddcddac0226d4 (patch) | |
tree | 2ff30d09f791162f07b9bc58607ec4b8664ccb3f /java/java-ow-util-ant-tasks | |
parent | 42735e67c78a104933d4d3184f704149815f7b38 (diff) | |
download | abslibre-bbd428cf29cf1b28325a661e7f6ddcddac0226d4.tar.gz abslibre-bbd428cf29cf1b28325a661e7f6ddcddac0226d4.tar.bz2 abslibre-bbd428cf29cf1b28325a661e7f6ddcddac0226d4.zip |
mv libre/java-* java/
Diffstat (limited to 'java/java-ow-util-ant-tasks')
-rwxr-xr-x | java/java-ow-util-ant-tasks/PKGBUILD | 27 | ||||
-rwxr-xr-x | java/java-ow-util-ant-tasks/SRCBUILD | 29 |
2 files changed, 56 insertions, 0 deletions
diff --git a/java/java-ow-util-ant-tasks/PKGBUILD b/java/java-ow-util-ant-tasks/PKGBUILD new file mode 100755 index 000000000..023048188 --- /dev/null +++ b/java/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/java/java-ow-util-ant-tasks/SRCBUILD b/java/java-ow-util-ant-tasks/SRCBUILD new file mode 100755 index 000000000..01241907d --- /dev/null +++ b/java/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') |