apache-maven: fix name of etc/profile.d/10_openjdk*.sh in template

This commit is contained in:
classabbyamp 2022-04-02 22:28:35 -04:00 committed by Andrew J. Hesford
parent 5b7f68e478
commit c1e21e8281

View File

@ -1,7 +1,7 @@
# Template file for 'apache-maven'
pkgname=apache-maven
version=3.6.3
revision=2
revision=3
hostmakedepends="openjdk8"
depends="virtual?java-environment which"
short_desc="Software project management and comprehension tool"
@ -15,7 +15,7 @@ checksum="7c1c990ba64dd4f88688120cc2ec93bf33dd500d2a62ae5cd57bd4b7f6335c07
replaces="apache-maven-bin>=0"
do_build() {
source /etc/profile.d/10_openjdk8.sh
source /etc/profile.d/openjdk.sh
./bin/mvn package -DskipTests -Drat.skip=true -Dmaven.repo.local=repo -DdistributionTargetDir=${DESTDIR}/usr/lib/${pkgname}
}