apache-ant: remove guards from INSTALL.msg.

This commit is contained in:
Juan RP 2014-09-16 10:33:10 +02:00
parent b1529e1b9f
commit 4aaa6920ee
2 changed files with 3 additions and 7 deletions
srcpkgs/apache-ant

View file

@ -1,8 +1,4 @@
=====================================================================
- Please re-login to include Apache Ant in your PATH or re-source - Please re-login to include Apache Ant in your PATH or re-source
/etc/profile: /etc/profile:
$ source /etc/profile $ source /etc/profile
=====================================================================

View file

@ -1,7 +1,7 @@
# Template file for 'apache-ant' # Template file for 'apache-ant'
pkgname="apache-ant" pkgname="apache-ant"
version="1.9.4" version="1.9.4"
revision=4 revision=5
short_desc="Java library and command-line tool that help building software" short_desc="Java library and command-line tool that help building software"
maintainer="Enno Boland <eb@s01.de>" maintainer="Enno Boland <eb@s01.de>"
license="Apache License" license="Apache License"
@ -13,16 +13,16 @@ depends="virtual?java-runtime"
noarch="yes" noarch="yes"
_prefix=usr/share/apache-ant _prefix=usr/share/apache-ant
export JAVA_HOME=/usr/lib/jvm/openjdk
do_configure() { do_configure() {
# Disable tests # Disable tests
sed -i 's/jars,test-jar/jars/' build.xml sed -i 's/jars,test-jar/jars/' build.xml
} }
do_build() { do_build() {
export JAVA_HOME=/usr/lib/jvm/openjdk
./build.sh -Ddist.dir=$DESTDIR/$_prefix jars ./build.sh -Ddist.dir=$DESTDIR/$_prefix jars
} }
do_install() { do_install() {
export JAVA_HOME=/usr/lib/jvm/openjdk
./build.sh -Ddist.dir=$DESTDIR/$_prefix dist ./build.sh -Ddist.dir=$DESTDIR/$_prefix dist
vinstall ${FILESDIR}/apache-ant.sh 644 etc/profile.d vinstall ${FILESDIR}/apache-ant.sh 644 etc/profile.d