apache-maven: update to 3.5.0
This commit is contained in:
parent
aa83576b1b
commit
d8f9d830ec
2 changed files with 9 additions and 17 deletions
|
@ -1,35 +1,25 @@
|
|||
# Template file for 'apache-maven'
|
||||
pkgname=apache-maven
|
||||
version=3.3.9
|
||||
version=3.5.0
|
||||
revision=1
|
||||
hostmakedepends="apache-ant openjdk"
|
||||
hostmakedepends="openjdk"
|
||||
depends="virtual?java-environment"
|
||||
noarch=yes
|
||||
short_desc="Software project management and comprehension tool"
|
||||
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://maven.apache.org/"
|
||||
distfiles="http://www-us.apache.org/dist/maven/maven-3/${version}/source/${pkgname}-${version}-src.tar.gz"
|
||||
checksum=9150475f509b23518e67a220a9d3a821648ab27550f4ece4d07b92b1fc5611bc
|
||||
distfiles="https://www-us.apache.org/dist/maven/maven-3/${version}/source/${pkgname}-${version}-src.tar.gz
|
||||
https://www-us.apache.org/dist/maven/maven-3/${version}/binaries/apache-maven-${version}-bin.tar.gz"
|
||||
checksum="2f6320069ac2536f0d95d86a2c0a284f22c8edb5f3b4a1a2ccdde6c00b7a80f7
|
||||
beb91419245395bd69a4a6edad5ca3ec1a8b64e41457672dc687c173a495f034"
|
||||
|
||||
do_build() {
|
||||
ant -Dmaven.home=mvn-complete
|
||||
}
|
||||
|
||||
post_build() {
|
||||
rm mvn-complete/bin/*.cmd
|
||||
./bin/mvn package -Drat.skip=true -Dmaven.repo.local=repo -DdistributionTargetDir=${DESTDIR}/usr/share/${pkgname}/
|
||||
}
|
||||
|
||||
do_install() {
|
||||
_installRoot=${DESTDIR}/usr/share/${pkgname}/
|
||||
mkdir -p ${_installRoot}
|
||||
|
||||
for _dir in bin boot conf lib ; do
|
||||
cp -r mvn-complete/${_dir} ${_installRoot}/${_dir}
|
||||
done
|
||||
|
||||
mkdir -p ${DESTDIR}/etc/profile.d
|
||||
vinstall ${FILESDIR}/apache-maven.sh 0755 etc/profile.d/
|
||||
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
2
srcpkgs/apache-maven/update
Normal file
2
srcpkgs/apache-maven/update
Normal file
|
@ -0,0 +1,2 @@
|
|||
site="https://www-us.apache.org/dist/maven/maven-3/"
|
||||
pattern="[0-9.]+(?=\/<)"
|
Loading…
Reference in a new issue