Date: Saturday, April 27, 2013 @ 15:18:47
  Author: guillaume
Revision: 183727

Upstream release

Added:
  java-antlr3/trunk/LICENSE.txt
    (from rev 183719, java-antlr3/trunk/LICENSE)
Modified:
  java-antlr3/trunk/PKGBUILD
Deleted:
  java-antlr3/trunk/LICENSE

-------------+
 LICENSE     |    8 --------
 LICENSE.txt |   26 ++++++++++++++++++++++++++
 PKGBUILD    |   38 ++++++++++++--------------------------
 3 files changed, 38 insertions(+), 34 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE     2013-04-27 13:08:09 UTC (rev 183726)
+++ LICENSE     2013-04-27 13:18:47 UTC (rev 183727)
@@ -1,8 +0,0 @@
-Copyright (c) 2010 Terence Parr
-All rights reserved.
-Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this 
list of conditions and the following disclaimer.
-Redistributions in binary form must reproduce the above copyright notice, this 
list of conditions and the following disclaimer in the documentation and/or 
other materials provided with the distribution.
-Neither the name of the author nor the names of its contributors may be used 
to endorse or promote products derived from this software without specific 
prior written permission.
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copied: java-antlr3/trunk/LICENSE.txt (from rev 183719, 
java-antlr3/trunk/LICENSE)
===================================================================
--- LICENSE.txt                         (rev 0)
+++ LICENSE.txt 2013-04-27 13:18:47 UTC (rev 183727)
@@ -0,0 +1,26 @@
+[The "BSD license"]
+Copyright (c) 2013 Terence Parr
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote products
+    derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-04-27 13:08:09 UTC (rev 183726)
+++ PKGBUILD    2013-04-27 13:18:47 UTC (rev 183727)
@@ -1,37 +1,23 @@
 # Maintainer: Guillaume ALAUX <guilla...@archlinux.org>
 _libname=antlr
 pkgname=java-${_libname}3
-pkgver=1.4.3
+pkgver=3.5
 pkgrel=1
-pkgdesc="Language tool that provides a framework for constructing grammatical 
parsers"
+pkgdesc='Language tool that provides a framework for constructing grammatical 
parsers'
 arch=('any')
-url="http://www.antlr.org/";
+url='http://www.antlr.org/'
 license=('BSD')
 depends=('java-runtime')
-makedepends=('apache-ant')
-# Thanks Mageia:
-# 
http://svnweb.mageia.org/packages/cauldron/antlrworks/current/SOURCES/antlrworks-1.4.3-jdk7.patch
-# Patch proposed upstream on 2012-09-15:
-# http://www.antlr.org/pipermail/antlr-interest/2012-September/thread.html
-source=(http://www.antlr.org/download/${_libname}works-${pkgver}-src.zip
-        antlrworks-1.4.3-jdk7.patch
-        LICENSE)
-sha256sums=('ec76aa4f2aa06283bd8acff418d5a0517edff024c10dfab978f0023cf877fec7'
-            '39cf6629d7a779af5434d207fe467bde9c4bf2258c5aee2b11b376a1ffbf960c'
-            'a13d8ca68ed79457f0e1c4465bbfa8a0704ccad75e5a909ed2fb7632f3fd77b6')
+source=(http://www.antlr3.org/download/${_libname}-${pkgver}-complete.jar
+        LICENSE.txt)
+sha256sums=('e173f6619d385d9092d09d87369ec9757bc738ff2c28095b61ea84d624819ce8'
+            '95fc87cbe29814a32fc97f6f8eb7ae55e4816d4b75143635c4db736e7e374fa2')
 
-build() {
-  cd "${srcdir}"
-
-  patch -p1 < antlrworks-1.4.3-jdk7.patch
-  ant build
-}
-
 package() {
-  install -Dm644 ${srcdir}/dist/${_libname}works-${pkgver}.jar \
-                 ${pkgdir}/usr/share/java/${_libname}works-${pkgver}.jar
-  ln -s ${_libname}works-${pkgver}.jar \
-        ${pkgdir}/usr/share/java/${_libname}works.jar
+  install -Dm644 ${srcdir}/${_libname}-${pkgver}-complete.jar \
+                 ${pkgdir}/usr/share/java/${_libname}-${pkgver}.jar
+  ln -s ${_libname}-${pkgver}.jar \
+        ${pkgdir}/usr/share/java/${_libname}.jar
 
-  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  install -Dm644 LICENSE.txt 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt
 }

Reply via email to