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'
|
# Template file for 'apache-maven'
|
||||||
pkgname=apache-maven
|
pkgname=apache-maven
|
||||||
version=3.3.9
|
version=3.5.0
|
||||||
revision=1
|
revision=1
|
||||||
hostmakedepends="apache-ant openjdk"
|
hostmakedepends="openjdk"
|
||||||
depends="virtual?java-environment"
|
depends="virtual?java-environment"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
short_desc="Software project management and comprehension tool"
|
short_desc="Software project management and comprehension tool"
|
||||||
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://maven.apache.org/"
|
homepage="https://maven.apache.org/"
|
||||||
distfiles="http://www-us.apache.org/dist/maven/maven-3/${version}/source/${pkgname}-${version}-src.tar.gz"
|
distfiles="https://www-us.apache.org/dist/maven/maven-3/${version}/source/${pkgname}-${version}-src.tar.gz
|
||||||
checksum=9150475f509b23518e67a220a9d3a821648ab27550f4ece4d07b92b1fc5611bc
|
https://www-us.apache.org/dist/maven/maven-3/${version}/binaries/apache-maven-${version}-bin.tar.gz"
|
||||||
|
checksum="2f6320069ac2536f0d95d86a2c0a284f22c8edb5f3b4a1a2ccdde6c00b7a80f7
|
||||||
|
beb91419245395bd69a4a6edad5ca3ec1a8b64e41457672dc687c173a495f034"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
ant -Dmaven.home=mvn-complete
|
./bin/mvn package -Drat.skip=true -Dmaven.repo.local=repo -DdistributionTargetDir=${DESTDIR}/usr/share/${pkgname}/
|
||||||
}
|
|
||||||
|
|
||||||
post_build() {
|
|
||||||
rm mvn-complete/bin/*.cmd
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
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
|
mkdir -p ${DESTDIR}/etc/profile.d
|
||||||
vinstall ${FILESDIR}/apache-maven.sh 0755 etc/profile.d/
|
vinstall ${FILESDIR}/apache-maven.sh 0755 etc/profile.d/
|
||||||
|
|
||||||
vlicense LICENSE
|
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…
Add table
Add a link
Reference in a new issue