apache-ant: cleaning up unneeded files; link ant to /usr/bin

This commit is contained in:
Enno Boland 2014-04-30 20:36:39 +02:00
parent 3164546902
commit 675e871ff3

View file

@ -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 <eb@s01.de>"
license="Apache License"
@ -27,6 +27,11 @@ 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() {