summaryrefslogtreecommitdiff
path: root/development/apache-ant/apache-ant.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/apache-ant/apache-ant.SlackBuild')
-rw-r--r--development/apache-ant/apache-ant.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/development/apache-ant/apache-ant.SlackBuild b/development/apache-ant/apache-ant.SlackBuild
index f0dcb6170b..28e76764d3 100644
--- a/development/apache-ant/apache-ant.SlackBuild
+++ b/development/apache-ant/apache-ant.SlackBuild
@@ -5,7 +5,7 @@
# Taken over by Vincent Batts (vbatts@hashbangbash.com)
PRGNAM=apache-ant
-VERSION=1.8.1
+VERSION=1.8.2
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,8 +44,8 @@ EOF
chmod 0755 $PKG/etc/profile.d/*
cd $PKG/usr/share/java
- for jar in ../../../$ANT_HOME/lib/*.jar ; do
- ln -s $jar
+ for jar in $PKG/$ANT_HOME/lib/*.jar ; do
+ ln -s $ANT_HOME/lib/$(basename $jar) $(basename $jar)
done
cd -
@@ -58,8 +58,7 @@ cd $PKG/usr/bin
cd -
mkdir -p $PKG/usr/doc/${PRGNAM}-$VERSION
-cp -a INSTALL KEYS NOTICE README \
- WHATSNEW docs/* $PKG/usr/doc/${PRGNAM}-$VERSION
+cp -a INSTALL KEYS NOTICE README WHATSNEW docs/* $PKG/usr/doc/${PRGNAM}-$VERSION
cat $CWD/${PRGNAM}.SlackBuild > $PKG/usr/doc/${PRGNAM}-$VERSION/${PRGNAM}.SlackBuild
mkdir -p $PKG/install