From f02e29ff7501aa7b5e074c60718c61ff10e6622d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 26 Sep 2012 17:09:23 -0400 Subject: mv libre/apache-ant java/apache-ant --- java/apache-ant/PKGBUILD | 110 ++++++++++++++++++++++++++++++++++++++++ java/apache-ant/apache-ant.csh | 2 + java/apache-ant/apache-ant.sh | 2 + libre/apache-ant/PKGBUILD | 110 ---------------------------------------- libre/apache-ant/apache-ant.csh | 2 - libre/apache-ant/apache-ant.sh | 2 - 6 files changed, 114 insertions(+), 114 deletions(-) create mode 100755 java/apache-ant/PKGBUILD create mode 100755 java/apache-ant/apache-ant.csh create mode 100755 java/apache-ant/apache-ant.sh delete mode 100755 libre/apache-ant/PKGBUILD delete mode 100755 libre/apache-ant/apache-ant.csh delete mode 100755 libre/apache-ant/apache-ant.sh diff --git a/java/apache-ant/PKGBUILD b/java/apache-ant/PKGBUILD new file mode 100755 index 000000000..77e0dfe94 --- /dev/null +++ b/java/apache-ant/PKGBUILD @@ -0,0 +1,110 @@ +# Maintainer: Luke Shumaker +# Maintainer (Arch): Paul Mattal +# Contributor: Andrew Wright + +pkgname=apache-ant +pkgver=1.8.4 + +provides=("apache-ant-libre=$pkgver") +replaces=("apache-ant-libre") +conflicts=("apache-ant-libre") + +pkgrel=1.1 +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]='