diff options
Diffstat (limited to 'testing/apache-ant')
-rw-r--r-- | testing/apache-ant/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/apache-ant/APKBUILD b/testing/apache-ant/APKBUILD index e24de6d7f1..4467f5d292 100644 --- a/testing/apache-ant/APKBUILD +++ b/testing/apache-ant/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=apache-ant pkgver=1.8.1 -pkgrel=0 +pkgrel=1 pkgdesc="A java-based build tool." url="http://ant.apache.org/" arch="noarch" @@ -17,7 +17,7 @@ source=" ${pkgname}.sh " -_builddir="src/${pkgname}-${pkgver}" +_builddir="${pkgname}-${pkgver}" prepare() { local i cd "$_builddir" @@ -33,11 +33,11 @@ build() { } package() { - cd "$_builddir" + cd "src/$_builddir" # install profile.d script install -dm755 ${pkgdir}/etc/profile.d || return 1 - install -m755 ${srcdir}/${pkgname}.sh ${pkgdir}/etc/profile.d/ || return 1 + install -m644 ${srcdir}/${pkgname}.sh ${pkgdir}/etc/profile.d/ || return 1 # Get the ANT_HOME env var source ${srcdir}/${pkgname}.sh || return 1 |