aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteeve Chailloux <steeve@chaahk.com>2015-04-16 22:20:31 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-04-17 08:29:01 +0000
commit16c93bf8f75c10cbb3ef7683cb20d874b6b8d05c (patch)
tree3d5b215e598bd6ab067b8ad44b9b6b83c2a83620
parent97ea231347a3e5a6fc388f4d77990ada7c9e5dc0 (diff)
downloadaports-16c93bf8f75c10cbb3ef7683cb20d874b6b8d05c.tar.bz2
aports-16c93bf8f75c10cbb3ef7683cb20d874b6b8d05c.tar.xz
testing/apache-ant: fix profile permissions and patches working dir
A java-based build tool. http://ant.apache.org/ Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
-rw-r--r--testing/apache-ant/APKBUILD8
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