diff --git a/srcpkgs/apache-ant/INSTALL b/srcpkgs/apache-ant/INSTALL.msg similarity index 61% rename from srcpkgs/apache-ant/INSTALL rename to srcpkgs/apache-ant/INSTALL.msg index e1927fd9823..d28a8b21b6f 100644 --- a/srcpkgs/apache-ant/INSTALL +++ b/srcpkgs/apache-ant/INSTALL.msg @@ -1,12 +1,3 @@ -# -# This script will advise the user to re-login to have JRE included -# in PATH -# -case "${ACTION}" in -pre) - ;; -post) - cat << _EOF ===================================================================== - Please re-login to include Apache Ant in your PATH or re-source @@ -15,7 +6,3 @@ post) $ source /etc/profile ===================================================================== -_EOF - ;; -esac - diff --git a/srcpkgs/apache-ant/template b/srcpkgs/apache-ant/template index ade690ac095..7a5b7474989 100644 --- a/srcpkgs/apache-ant/template +++ b/srcpkgs/apache-ant/template @@ -1,7 +1,7 @@ # Template file for 'apache-ant' pkgname="apache-ant" version="1.9.4" -revision=2 +revision=3 short_desc="Java library and command-line tool that help building software" maintainer="Enno Boland " license="Apache License" @@ -13,17 +13,14 @@ depends="oracle-jdk?java-runtime" noarch="yes" _prefix=usr/share/apache-ant - do_configure() { # Disable tests sed -i 's/jars,test-jar/jars/' build.xml } - do_build() { source /etc/profile.d/oracle-jdk.sh ./build.sh -Ddist.dir=$DESTDIR/$_prefix jars } - do_install() { source /etc/profile.d/oracle-jdk.sh ./build.sh -Ddist.dir=$DESTDIR/$_prefix dist