diff --git a/srcpkgs/apache-ant/template b/srcpkgs/apache-ant/template index e505b5da0b6..2c5e2956205 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.3" -revision=1 +revision=2 short_desc="Java library and command-line tool that help building software" maintainer="Enno Boland " license="Apache License" @@ -27,13 +27,18 @@ do_install() { JAVA_HOME=/usr/share/java ./build.sh -Ddist.dir=$DESTDIR/$_prefix dist vinstall ${FILESDIR}/apache-ant.sh 644 etc/profile.d + rm $DESTDIR/$_prefix/bin/*.bat + rm $DESTDIR/$_prefix/bin/*.cmd + + vmkdir usr/bin + ln -rs $DESTDIR/$_prefix/bin/ant $DESTDIR/usr/bin } apache-ant-doc_package() { - short_desc+=" - documentation" - depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - documentation" + depends="${sourcepkg}>=${version}_${revision}" noarch="yes" - pkg_install() { - vmove $_prefix/manual - } + pkg_install() { + vmove $_prefix/manual + } }