From 26eba5261678b14d8bd3d21d4b7806f1709f362c Mon Sep 17 00:00:00 2001 From: Spencer H Date: Sat, 3 Oct 2015 19:25:11 -0400 Subject: [PATCH] New package: apache-maven-bin-3.3.3 --- srcpkgs/apache-maven-bin/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/apache-maven-bin/template diff --git a/srcpkgs/apache-maven-bin/template b/srcpkgs/apache-maven-bin/template new file mode 100644 index 00000000000..c7194f95579 --- /dev/null +++ b/srcpkgs/apache-maven-bin/template @@ -0,0 +1,22 @@ +# Template file for 'apache-maven-bin' +pkgname=apache-maven-bin +version=3.3.3 +revision=1 +depends="virtual?java-environment" +short_desc="A tool for building and managing Java-based projects" +maintainer="Spencer H " +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" +wrksrc=apache-maven-3.3.3 +checksum=3a8dc4a12ab9f3607a1a2097bbab0150c947ad6719d8f1bb6d5b47d0fb0c4779 + +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 +} +