apache-ant: cleaning up unneeded files; link ant to /usr/bin
This commit is contained in:
parent
3164546902
commit
675e871ff3
1 changed files with 11 additions and 6 deletions
|
@ -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,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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue