void-packages/srcpkgs/apache-maven-bin/template

23 lines
803 B
Bash
Raw Normal View History

2015-10-04 01:25:11 +02:00
# Template file for 'apache-maven-bin'
pkgname=apache-maven-bin
2016-01-17 19:39:58 +01:00
version=3.3.9
2015-10-04 01:25:11 +02:00
revision=1
depends="virtual?java-environment"
short_desc="A tool for building and managing Java-based projects"
maintainer="Spencer H <spencernh77@gmail.com>"
license="Apache-2.0"
homepage="https://maven.apache.org"
distfiles="http://apache.arvixe.com/maven/maven-3/${version}/binaries/apache-maven-${version}-bin.tar.gz>apache-maven-${version}.tar.gz"
2016-01-17 19:39:58 +01:00
wrksrc=apache-maven-3.3.9
checksum=6e3e9c949ab4695a204f74038717aa7b2689b1be94875899ac1b3fe42800ff82
2015-10-04 01:25:11 +02:00
do_install() {
vmkdir opt/apache-maven
vmkdir usr/bin
vcopy "*" opt/apache-maven
ln -s /opt/apache-maven/bin/mvn ${DESTDIR}/usr/bin/mvn
ln -s /opt/apache-maven/bin/mvnDebug ${DESTDIR}/usr/bin/mvnDebug
ln -s /opt/apache-maven/bin/mvnyjp ${DESTDIR}/usr/bin/mvnyjp
}