From 1c27f57b1a28074a50e05aaa73c47ef55127e318 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 6 Jun 2012 09:19:56 -0400 Subject: rename libre/apache-ant{-libre,} and add more optional dependencies --- libre/apache-ant/PKGBUILD | 108 ++++++++++++++++++++++++++++++++++++++++ libre/apache-ant/apache-ant.csh | 3 ++ libre/apache-ant/apache-ant.sh | 2 + 3 files changed, 113 insertions(+) create mode 100644 libre/apache-ant/PKGBUILD create mode 100644 libre/apache-ant/apache-ant.csh create mode 100644 libre/apache-ant/apache-ant.sh (limited to 'libre/apache-ant') diff --git a/libre/apache-ant/PKGBUILD b/libre/apache-ant/PKGBUILD new file mode 100644 index 000000000..b6b429442 --- /dev/null +++ b/libre/apache-ant/PKGBUILD @@ -0,0 +1,108 @@ +# Maintainer: Luke Shumaker +# Maintainer (Arch): Paul Mattal +# Contributor: Andrew Wright + +pkgname=apache-ant +pkgver=1.8.2 + +provides=("apache-ant-libre=$pkgver") +replaces=("apache-ant-libre") +conflicts=("apache-ant-libre") + +pkgrel=4.2 +pkgdesc="A Java-based build tool" +arch=('any') +license=('Apache') +url="http://ant.apache.org/" +_mirror=http://archive.apache.org/dist +source=($_mirror/ant/source/${pkgname}-${pkgver}-src.tar.bz2 + ${pkgname}.sh ${pkgname}.csh) +depends=('java-environment') + +# This list is adapted from https://ant.apache.org/manual/install.html#librarydependencies +declare -A _opts +_opts[junit]='to have JUnit on the classpath in javac tasks;/usr/share/java/junit.jar' +_opts[xalan-java]=' task;/usr/share/java/xalan.jar' +_opts[antlr2]=' task;/usr/share/java/antlr2.jar::antlr.jar' +#_opts[java-bsf]='