diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-02-10 15:49:35 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-02-10 15:49:35 -0500 |
commit | 53a2f811559774c60f339be9294bf05cac162af3 (patch) | |
tree | c337e3d1be9ecb79edb7f1508517778f5aa4b3a7 /libre/java-ow-util-ant-tasks | |
parent | 276077b3fd12f2e32826cc65cb7d650e9439e56f (diff) |
java-ow-util-ant-tasks: moving package to [libre]
Diffstat (limited to 'libre/java-ow-util-ant-tasks')
-rw-r--r-- | libre/java-ow-util-ant-tasks/PKGBUILD | 41 |
1 files changed, 41 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..71c5fae94 --- /dev/null +++ b/libre/java-ow-util-ant-tasks/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname=java-ow-util-ant-tasks +pkgver=1.3.2 +pkgdesc="ObjectWeb utility Ant tasks library" +url="http://forge.ow2.org/projects/monolog" +license=('LGPL') + +pkgrel=3 +arch=('any') +depends=('java-environment') +makedepends=('apache-ant' 'xalan-java' 'java-asm2') + +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" + 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 +} + |