2016-07-19 05:45:05 +02:00
|
|
|
# Template file for 'apache-maven'
|
|
|
|
pkgname=apache-maven
|
2017-06-17 02:38:09 +02:00
|
|
|
version=3.5.0
|
2016-07-19 05:45:05 +02:00
|
|
|
revision=1
|
2017-06-17 02:38:09 +02:00
|
|
|
hostmakedepends="openjdk"
|
2016-07-19 05:45:05 +02:00
|
|
|
depends="virtual?java-environment"
|
|
|
|
noarch=yes
|
|
|
|
short_desc="Software project management and comprehension tool"
|
2017-07-19 05:11:10 +02:00
|
|
|
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
|
2016-07-19 05:45:05 +02:00
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://maven.apache.org/"
|
2017-06-17 02:38:09 +02:00
|
|
|
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"
|
2016-07-19 05:45:05 +02:00
|
|
|
|
|
|
|
do_build() {
|
2017-06-17 02:38:09 +02:00
|
|
|
./bin/mvn package -Drat.skip=true -Dmaven.repo.local=repo -DdistributionTargetDir=${DESTDIR}/usr/share/${pkgname}/
|
2016-07-19 05:45:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
mkdir -p ${DESTDIR}/etc/profile.d
|
|
|
|
vinstall ${FILESDIR}/apache-maven.sh 0755 etc/profile.d/
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|