diff options
Diffstat (limited to 'libre/apache-ant/PKGBUILD')
-rw-r--r-- | libre/apache-ant/PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libre/apache-ant/PKGBUILD b/libre/apache-ant/PKGBUILD index 4fba0fcb2..d220586f8 100644 --- a/libre/apache-ant/PKGBUILD +++ b/libre/apache-ant/PKGBUILD @@ -11,7 +11,7 @@ url="http://ant.apache.org/" replaces=("$pkgname-libre") conflicts=("$pkgname-libre") -pkgrel=1.parabola1 +pkgrel=2.parabola1 arch=('any') depends=('java-environment') makedepends=('jh') @@ -77,14 +77,14 @@ build() { ln -sfv "${_jarpath}" lib/optional/${_jarname} done # Build - source "/etc/profile.d/jdk.sh" # Get the JAVA_HOME env var + source "/etc/profile.d/jre.sh" # Get the JAVA_HOME env var sh build.sh -Ddist.dir="${srcdir}"/${pkgname}-${pkgver}-bin dist } package() { cd "${srcdir}"/${pkgname}-${pkgver}-bin source "${srcdir}"/${pkgname}.sh # Get the ANT_HOME env var - source "/etc/profile.d/jdk.sh" # Get the JAVA_HOME env var + source "/etc/profile.d/jre.sh" # Get the JAVA_HOME env var ## Install profile.d script install -d "${pkgdir}"/etc/profile.d |