apache-ant: switch to INSTALL.msg.

This commit is contained in:
Juan RP 2014-09-15 17:44:35 +02:00
parent 904c9697ce
commit f72f537acb
2 changed files with 1 additions and 17 deletions

View File

@ -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

View File

@ -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 <eb@s01.de>"
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