Date: Wednesday, March 14, 2018 @ 01:42:50
  Author: anthraxx
Revision: 307527

archrelease: copy trunk to community-any

Added:
  maven/repos/community-any/PKGBUILD
    (from rev 307526, maven/trunk/PKGBUILD)
  maven/repos/community-any/maven.sh
    (from rev 307526, maven/trunk/maven.sh)
Deleted:
  maven/repos/community-any/ChangeLog
  maven/repos/community-any/PKGBUILD
  maven/repos/community-any/maven.sh

-----------+
 ChangeLog |    3 --
 PKGBUILD  |   75 +++++++++++++++++++++++++++++++-----------------------------
 maven.sh  |   10 ++++----
 3 files changed, 44 insertions(+), 44 deletions(-)

Deleted: ChangeLog
===================================================================
--- ChangeLog   2018-03-14 01:42:43 UTC (rev 307526)
+++ ChangeLog   2018-03-14 01:42:50 UTC (rev 307527)
@@ -1,3 +0,0 @@
-2007-06-29 tardo <ta...@nagi-fanboi.net>
-* Built for x86_64
-* Not sure if the binary will work.. but lets try anyway

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-14 01:42:43 UTC (rev 307526)
+++ PKGBUILD    2018-03-14 01:42:50 UTC (rev 307527)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
-# Contributor: William Rea <sillywi...@gmail.com>
-
-pkgname=maven
-pkgver=3.5.2
-pkgrel=1
-pkgdesc="A Java project management and project comprehension tool"
-arch=('any')
-url="http://maven.apache.org";
-license=('APACHE')
-depends=('java-environment')
-makedepends=('maven')
-backup=('opt/maven/conf/settings.xml')
-source=(http://apache-mirror.rbc.ru/pub/apache/maven/maven-3/$pkgver/source/apache-maven-$pkgver-src.tar.gz
-       maven.sh)
-sha256sums=('246653dd9920f87b54c67ff4651b32d78ac4d7da973c10a6c8b1c70d9e6d0305'
-            '24dc65607ff9e25c74ff2f75711911471910eaf415bce1856789c9d047209b8b')
-
-package() {
-  cd "$srcdir"/apache-maven-$pkgver
-
-  . /etc/profile.d/jre.sh
-
-  mkdir -p "$srcdir"/repo
-  mkdir -p "$pkgdir"/opt/maven
-  mkdir -p "$pkgdir"/usr/bin
-
-  # FIXME: downloads many deps from Internet. Probably they should be
-  # packaged or added into source=()
-  mvn package -Dmaven.repo.local="$srcdir"/repo 
-DdistributionTargetDir="$pkgdir"/opt/maven
-
-  install -D -m 755 "$srcdir"/maven.sh "$pkgdir"/etc/profile.d/maven.sh
-  ln -s /opt/maven/bin/mvn "$pkgdir"/usr/bin/mvn
-  ln -s /opt/maven/bin/mvnDebug "$pkgdir"/usr/bin/mvnDebug
-}

Copied: maven/repos/community-any/PKGBUILD (from rev 307526, 
maven/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-03-14 01:42:50 UTC (rev 307527)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Contributor: William Rea <sillywi...@gmail.com>
+
+pkgname=maven
+pkgver=3.5.2
+pkgrel=1
+pkgdesc='Java project management and project comprehension tool'
+url='https://maven.apache.org'
+arch=('any')
+license=('APACHE')
+depends=('java-environment' 'bash')
+makedepends=('maven')
+backup=('opt/maven/conf/settings.xml')
+source=(https://www-eu.apache.org/dist/maven/maven-3/${pkgver}/source/apache-maven-${pkgver}-src.tar.gz{,.asc}
+        maven.sh)
+validpgpkeys=('042B29E928995B9DB963C636C7CA19B7B620D787') # 
StephenConnolly<steph...@apache.org>
+sha256sums=('246653dd9920f87b54c67ff4651b32d78ac4d7da973c10a6c8b1c70d9e6d0305'
+            'SKIP'
+            '24dc65607ff9e25c74ff2f75711911471910eaf415bce1856789c9d047209b8b')
+
+package() {
+  cd apache-maven-${pkgver}
+
+  . /etc/profile.d/jre.sh
+
+  install -d "${pkgdir}/opt/maven"
+  mvn package \
+    -Dmaven.repo.local="${srcdir}/repo" \
+    -DdistributionTargetDir="${pkgdir}/opt/maven" \
+    -Dproject.build.sourceEncoding=UTF-8
+
+  install -Dm 755 ../maven.sh -t "${pkgdir}/etc/profile.d"
+  install -d "${pkgdir}/usr/bin"
+  ln -s /opt/maven/bin/mvn "${pkgdir}/usr/bin/mvn"
+  ln -s /opt/maven/bin/mvnDebug "${pkgdir}/usr/bin/mvnDebug"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: maven.sh
===================================================================
--- maven.sh    2018-03-14 01:42:43 UTC (rev 307526)
+++ maven.sh    2018-03-14 01:42:50 UTC (rev 307527)
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-export MAVEN_OPTS=-Xmx512m
-#export M2_HOME=/opt/maven
-#export PATH=$PATH:$M2_HOME/bin

Copied: maven/repos/community-any/maven.sh (from rev 307526, 
maven/trunk/maven.sh)
===================================================================
--- maven.sh                            (rev 0)
+++ maven.sh    2018-03-14 01:42:50 UTC (rev 307527)
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+export MAVEN_OPTS=-Xmx512m
+#export M2_HOME=/opt/maven
+#export PATH=$PATH:$M2_HOME/bin

Reply via email to