[arch-commits] Commit in antlr4/repos/extra-any (6 files)
Guillaume Alaux
guillaume at nymeria.archlinux.org
Tue Feb 11 20:00:15 UTC 2014
Date: Tuesday, February 11, 2014 @ 21:00:14
Author: guillaume
Revision: 205856
archrelease: copy trunk to extra-any
Added:
antlr4/repos/extra-any/PKGBUILD
(from rev 205855, antlr4/trunk/PKGBUILD)
antlr4/repos/extra-any/bin_antlr4
(from rev 205855, antlr4/trunk/bin_antlr4)
antlr4/repos/extra-any/bin_grun
(from rev 205855, antlr4/trunk/bin_grun)
Deleted:
antlr4/repos/extra-any/PKGBUILD
antlr4/repos/extra-any/bin_antlr4
antlr4/repos/extra-any/bin_grun
------------+
PKGBUILD | 96 +++++++++++++++++++++++++++++++----------------------------
bin_antlr4 | 4 +-
bin_grun | 4 +-
3 files changed, 56 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-02-11 19:59:10 UTC (rev 205855)
+++ PKGBUILD 2014-02-11 20:00:14 UTC (rev 205856)
@@ -1,44 +0,0 @@
-# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
-pkgname=antlr4
-pkgver=4.1
-pkgrel=2
-pkgdesc='Parser generator for reading, processing, executing, or translating structured text or binary files'
-arch=('any')
-url='http://www.antlr.org/index.html'
-license=('BSD')
-depends=('java-environment>=6')
-makedepends=('maven' 'openjdk7-src' 'unzip')
-provides=("antlr=${pkgver}")
-source=(http://www.antlr.org/download/${pkgname:0:-1}-${pkgver}.tar.gz
- bin_antlr4
- bin_grun)
-sha256sums=('3e2c26c7bc18e86ff5a363daca5407feb0f596194f0db6be1fcaaa73f4bf1db1'
- 'c32ed03752a24beb8f67c10b23a2a26c0c7d00288dd772e1ef40f807fb081aa6'
- '2e6ef8e841429eb632278d3ab9a73afc477721fd69076c6ff8ad00a26cdd2554')
-
-prepare() {
- unzip -o /usr/lib/jvm/java-7-openjdk/src.zip -d ${srcdir}/jdk_src
- export M2_REPO=${srcdir}/m2_repo
- mkdir -p ${M2_REPO}
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}/tool"
- mvn -Dmaven.repo.local=${M2_REPO} \
- -DJDK_SOURCE_ROOT=${srcdir}/jdk_src \
- -Dbootclasspath.compile=${JAVA_HOME}/jre/lib/rt.jar \
- -Dbootclasspath.testCompile=${JAVA_HOME}/jre/lib/rt.jar \
- -Duser.name='Arch Linux' \
- -Psonatype-oss-release \
- -Dmaven.javadoc.skip=true \
- clean package
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- install -D tool/target/${pkgname}-${pkgver}-complete.jar \
- ${pkgdir}/usr/share/java/${pkgname:0:-1}-${pkgver}-complete.jar
- install -D ${srcdir}/bin_antlr4 ${pkgdir}/usr/bin/antlr4
- install -D ${srcdir}/bin_grun ${pkgdir}/usr/bin/grun
- install -D LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt
-}
Copied: antlr4/repos/extra-any/PKGBUILD (from rev 205855, antlr4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-02-11 20:00:14 UTC (rev 205856)
@@ -0,0 +1,52 @@
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+pkgname=antlr4
+pkgver=4.2
+pkgrel=1
+pkgdesc='Parser generator for reading, processing, executing, or translating structured text or binary files'
+arch=('any')
+url='http://www.antlr.org/index.html'
+license=('BSD')
+depends=('java-environment>=6')
+makedepends=('maven' 'openjdk7-src' 'unzip')
+provides=("antlr=${pkgver}")
+source=(https://github.com/${pkgname:0:-1}/${pkgname}/archive/${pkgver}.zip
+ bin_antlr4
+ bin_grun)
+sha256sums=('beb78ba9fa6008a099b663afd02aec26695030ab7f5f4222ca586b58d7abb456'
+ 'c32ed03752a24beb8f67c10b23a2a26c0c7d00288dd772e1ef40f807fb081aa6'
+ '2e6ef8e841429eb632278d3ab9a73afc477721fd69076c6ff8ad00a26cdd2554')
+
+prepare() {
+ unzip -o /usr/lib/jvm/java-7-openjdk/src.zip -d "${srcdir}"/jdk_src
+ export M2_REPO="${srcdir}"/m2_repo
+ mkdir -p "${M2_REPO}"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}/tool"
+ mvn -Dmaven.repo.local="${M2_REPO}" \
+ -DJDK_SOURCE_ROOT="${srcdir}"/jdk_src \
+ -Dbootclasspath.compile=${JAVA_HOME}/jre/lib/rt.jar \
+ -Duser.name='Arch Linux' \
+ -Psonatype-oss-release \
+ -Dmaven.javadoc.skip=true \
+ -Dmaven.test.skip=true \
+ clean package
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}/tool"
+ mvn -Dmaven.repo.local="${M2_REPO}" \
+ -DJDK_SOURCE_ROOT="${srcdir}"/jdk_src \
+ -Dbootclasspath.testCompile=${JAVA_HOME}/jre/lib/rt.jar \
+ test
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ install -D tool/target/${pkgname}-${pkgver}-complete.jar \
+ "${pkgdir}"/usr/share/java/${pkgname:0:-1}-${pkgver}-complete.jar
+ install -D "${srcdir}"/bin_antlr4 "${pkgdir}"/usr/bin/antlr4
+ install -D "${srcdir}"/bin_grun "${pkgdir}"/usr/bin/grun
+ install -D LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
+}
Deleted: bin_antlr4
===================================================================
--- bin_antlr4 2014-02-11 19:59:10 UTC (rev 205855)
+++ bin_antlr4 2014-02-11 20:00:14 UTC (rev 205856)
@@ -1,2 +0,0 @@
-#!/bin/sh
-java -jar /usr/share/java/antlr-4.1-complete.jar $@
Copied: antlr4/repos/extra-any/bin_antlr4 (from rev 205855, antlr4/trunk/bin_antlr4)
===================================================================
--- bin_antlr4 (rev 0)
+++ bin_antlr4 2014-02-11 20:00:14 UTC (rev 205856)
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -jar /usr/share/java/antlr-4.1-complete.jar $@
Deleted: bin_grun
===================================================================
--- bin_grun 2014-02-11 19:59:10 UTC (rev 205855)
+++ bin_grun 2014-02-11 20:00:14 UTC (rev 205856)
@@ -1,2 +0,0 @@
-#!/bin/sh
-java -cp /usr/share/java/antlr-4.1-complete.jar org.antlr.v4.runtime.misc.TestRig $@
Copied: antlr4/repos/extra-any/bin_grun (from rev 205855, antlr4/trunk/bin_grun)
===================================================================
--- bin_grun (rev 0)
+++ bin_grun 2014-02-11 20:00:14 UTC (rev 205856)
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -cp /usr/share/java/antlr-4.1-complete.jar org.antlr.v4.runtime.misc.TestRig $@
More information about the arch-commits
mailing list