From 933408834ea04791a9b651d46589d7276c5b91a7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 22 Feb 2014 15:48:22 -0500 Subject: update apache-ant, move it (and dependencies) from [java] to [libre] --- java/antlr2/PKGBUILD | 99 -- java/antlr2/gcc4.4.patch | 12 - java/antlr2/mono.patch | 31 - java/antlr2/runantlr2.sh | 5 - java/apache-ant/PKGBUILD | 142 -- java/apache-ant/apache-ant.csh | 2 - java/apache-ant/apache-ant.sh | 2 - java/jakarta-oro/PKGBUILD | 30 - java/java-commons-bsf2/PKGBUILD | 59 - java/junit/PKGBUILD | 47 - java/nant/PKGBUILD | 25 - java/nant/mono3.patch | 2645 -------------------------------------- libre/antlr2/PKGBUILD | 100 ++ libre/antlr2/gcc4.4.patch | 12 + libre/antlr2/mono.patch | 31 + libre/antlr2/runantlr2.sh | 5 + libre/apache-ant/PKGBUILD | 134 ++ libre/apache-ant/apache-ant.csh | 2 + libre/apache-ant/apache-ant.sh | 2 + libre/jakarta-oro/PKGBUILD | 31 + libre/java-commons-bsf2/PKGBUILD | 58 + libre/junit/PKGBUILD | 48 + libre/nant/PKGBUILD | 26 + libre/nant/mono3.patch | 2645 ++++++++++++++++++++++++++++++++++++++ 24 files changed, 3094 insertions(+), 3099 deletions(-) delete mode 100644 java/antlr2/PKGBUILD delete mode 100644 java/antlr2/gcc4.4.patch delete mode 100644 java/antlr2/mono.patch delete mode 100644 java/antlr2/runantlr2.sh delete mode 100644 java/apache-ant/PKGBUILD delete mode 100644 java/apache-ant/apache-ant.csh delete mode 100644 java/apache-ant/apache-ant.sh delete mode 100644 java/jakarta-oro/PKGBUILD delete mode 100644 java/java-commons-bsf2/PKGBUILD delete mode 100644 java/junit/PKGBUILD delete mode 100644 java/nant/PKGBUILD delete mode 100644 java/nant/mono3.patch create mode 100644 libre/antlr2/PKGBUILD create mode 100644 libre/antlr2/gcc4.4.patch create mode 100644 libre/antlr2/mono.patch create mode 100644 libre/antlr2/runantlr2.sh create mode 100644 libre/apache-ant/PKGBUILD create mode 100644 libre/apache-ant/apache-ant.csh create mode 100644 libre/apache-ant/apache-ant.sh create mode 100644 libre/jakarta-oro/PKGBUILD create mode 100644 libre/java-commons-bsf2/PKGBUILD create mode 100644 libre/junit/PKGBUILD create mode 100644 libre/nant/PKGBUILD create mode 100644 libre/nant/mono3.patch diff --git a/java/antlr2/PKGBUILD b/java/antlr2/PKGBUILD deleted file mode 100644 index de5262698..000000000 --- a/java/antlr2/PKGBUILD +++ /dev/null @@ -1,99 +0,0 @@ -# Maintainer: luke Shumaker -# Maintainer (Arch): Andrea Scarpino -# Contributor: George Giorgidze -# Contributor: Stefan Husmann - -pkgbase=antlr2 -pkgname=(antlr2 antlr2-{java,python2,cxx,sharp}) -pkgver=2.7.7 -pkgdesc="ANother Tool for Language Recognition" -url="http://www.antlr2.org/" -license=('custom:Public Domain') - -pkgrel=4.1 -arch=('i686' 'x86_64') -makedepends=('java-environment' 'python2' 'sh' 'nant' 'jh') -source=("http://www.antlr2.org/download/antlr-${pkgver}.tar.gz" - "http://repo.maven.apache.org/maven2/antlr/antlr/$pkgver/antlr-$pkgver.pom" - 'runantlr2.sh' 'gcc4.4.patch' 'mono.patch') - -build() { - cd "${srcdir}/antlr-${pkgver}" - - patch -Np1 -i "${srcdir}"/gcc4.4.patch - patch -Np1 -i "${srcdir}"/mono.patch - - ./configure --prefix=/usr --disable-examples - make -j1 - - cd lib/csharp - nant release -} - -_install_license() { - install -Dm644 "$srcdir"/antlr-${pkgver}/LICENSE.txt \ - "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -package_antlr2() { - depends=('sh' 'antlr2-java') - - install -Dm755 "$srcdir"/runantlr2.sh "$pkgdir"/usr/bin/runantlr2 - _install_license -} - -package_antlr2-java() { - pkgdesc+=" (Java version)" - depends=('java-runtime') - - provides=("java-antlr2=$pkgver") - conflicts=("java-antlr2") - replaces=("java-antlr2") - - DESTDIR="$pkgdir" jh mvn-install antlr antlr $pkgver \ - "$srcdir"/antlr-${pkgver}.pom \ - "$srcdir"/antlr-${pkgver}/antlr/antlr.jar \ - antlr2.jar - - _install_license -} - -package_antlr2-python2() { - pkgdesc+=" (Python version)" - depends=('python2') - - provides=("python2-antlr2=$pkgver") - conflicts=("python2-antlr2") - replaces=("python2-antlr2") - - cd "$srcdir"/antlr-${pkgver}/lib/python - python2 setup.py install --root="${pkgdir}" --optimize=1 - - _install_license -} - -package_antlr2-cxx() { - pkgdesc+=" (C++ version)" - - cd "$srcdir"/antlr-${pkgver}/lib/cpp - make -j1 prefix="${pkgdir}/usr" install - - _install_license -} - -package_antlr2-sharp() { - pkgdesc+=" (C Sharp version)" - depends=('mono') - - cd "$srcdir"/antlr-${pkgver}/lib/csharp - install -d "$pkgdir"/usr/share - make -j1 prefix="${pkgdir}/usr" install - - _install_license -} - -md5sums=('01cc9a2a454dd33dcd8c856ec89af090' - '78af3de823003f6d8dded39c70bc30ae' - '78e9bf86bd44722f232f80bc7b04dcfe' - '158677e4c0f357afbb56656231a54815' - '0d1960d27ff81f2fea0dd35a8290216f') diff --git a/java/antlr2/gcc4.4.patch b/java/antlr2/gcc4.4.patch deleted file mode 100644 index 15e25fb00..000000000 --- a/java/antlr2/gcc4.4.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur antlr-2.7.7.orig/lib/cpp/antlr/CharScanner.hpp antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp ---- antlr-2.7.7.orig/lib/cpp/antlr/CharScanner.hpp -+++ antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp -@@ -10,6 +10,8 @@ - - #include - -+#include -+#include - #include - - #ifdef HAS_NOT_CCTYPE_H diff --git a/java/antlr2/mono.patch b/java/antlr2/mono.patch deleted file mode 100644 index 59c78d811..000000000 --- a/java/antlr2/mono.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -ruN antlr-2.7.7.orig/lib/csharp/antlr.runtime.build antlr-2.7.7/lib/csharp/antlr.runtime.build ---- antlr-2.7.7.orig/lib/csharp/antlr.runtime.build 2006-11-01 16:37:17.000000000 -0500 -+++ antlr-2.7.7/lib/csharp/antlr.runtime.build 2013-05-14 20:07:32.000000000 -0400 -@@ -25,6 +25,9 @@ - - -