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.SlackBuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/development/apache-ant/apache-ant.SlackBuild b/development/apache-ant/apache-ant.SlackBuild
index 65a3a49684..58527bab7d 100644
--- a/development/apache-ant/apache-ant.SlackBuild
+++ b/development/apache-ant/apache-ant.SlackBuild
@@ -1,18 +1,18 @@
#!/bin/sh
# Slackware build script for apache-ant
-# Started by Dugan Chen (dugan_c@fastmail.fm)
+# Started by Dugan Chen (dugan[underscore]c[at]fastmail[dot]fm)
# Taken over by Vincent Batts (vbatts@hashbangbash.com)
PRGNAM=apache-ant
-VERSION=1.7.1
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+VERSION=1.8.0
+ARCH=noarch
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
TEAM=$(echo $PRGNAM | cut -d- -f1)
PROJECT=$(echo $PRGNAM | cut -d- -f2)
-ANT_HOME=${ANT_HOME:-/usr/share/$PROJECT}
+ANT_HOME=/usr/share/$PROJECT
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -50,11 +50,11 @@ cd $PKG/usr/share/java
cd -
cd $PKG/usr/bin
- ln -s ../share/$PROJECT/bin/ant
- ln -s ../share/$PROJECT/bin/antRun
- ln -s ../share/$PROJECT/bin/antRun.pl
- ln -s ../share/$PROJECT/bin/runant.pl
- ln -s ../share/$PROJECT/bin/runant.py
+ ln -s $ANT_HOME/bin/ant
+ ln -s $ANT_HOME/bin/antRun
+ ln -s $ANT_HOME/bin/antRun.pl
+ ln -s $ANT_HOME/bin/runant.pl
+ ln -s $ANT_HOME/bin/runant.py
cd -
mkdir -p $PKG/usr/doc/${PRGNAM}-$VERSION
@@ -66,4 +66,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/${PRGNAM}-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}