[arch-commits] Commit in apache-ant/repos/extra-any (12 files)

Guillaume Alaux guillaume at nymeria.archlinux.org
Tue May 6 11:25:54 UTC 2014


    Date: Tuesday, May 6, 2014 @ 13:25:53
  Author: guillaume
Revision: 212073

archrelease: copy trunk to extra-any

Added:
  apache-ant/repos/extra-any/PKGBUILD
    (from rev 212072, apache-ant/trunk/PKGBUILD)
  apache-ant/repos/extra-any/ant.conf
    (from rev 212072, apache-ant/trunk/ant.conf)
  apache-ant/repos/extra-any/apache-ant.csh
    (from rev 212072, apache-ant/trunk/apache-ant.csh)
  apache-ant/repos/extra-any/apache-ant.install
    (from rev 212072, apache-ant/trunk/apache-ant.install)
  apache-ant/repos/extra-any/apache-ant.sh
    (from rev 212072, apache-ant/trunk/apache-ant.sh)
  apache-ant/repos/extra-any/bin_ant
    (from rev 212072, apache-ant/trunk/bin_ant)
Deleted:
  apache-ant/repos/extra-any/PKGBUILD
  apache-ant/repos/extra-any/ant.conf
  apache-ant/repos/extra-any/apache-ant.csh
  apache-ant/repos/extra-any/apache-ant.install
  apache-ant/repos/extra-any/apache-ant.sh
  apache-ant/repos/extra-any/bin_ant

--------------------+
 PKGBUILD           |  156 +++++++++++++++++++++++++--------------------------
 ant.conf           |    8 +-
 apache-ant.csh     |    2 
 apache-ant.install |   22 +++----
 apache-ant.sh      |    2 
 bin_ant            |   12 +--
 6 files changed, 101 insertions(+), 101 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-05-06 11:25:14 UTC (rev 212072)
+++ PKGBUILD	2014-05-06 11:25:53 UTC (rev 212073)
@@ -1,78 +0,0 @@
-# $Id$
-# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
-# Contributor: Andrew Wright <andreww at photism.org>
-# Contributor: Paul Mattal <paul at archlinux.org>
-pkgname=apache-ant
-pkgver=1.9.3
-pkgrel=2
-pkgdesc='A java-based build tool'
-arch=('any')
-url='http://ant.apache.org/'
-license=('APACHE')
-depends=('java-environment')
-makedepends=('java-environment' 'apache-ant' 'junit')
-optdepends=('junit: to use the junit tasks')
-install=${pkgname}.install
-source=(http://apache.org/dist/ant/source/${pkgname}-${pkgver}-src.tar.bz2
-        ${pkgname}.sh
-        ${pkgname}.csh
-        ${pkgname}.install
-        bin_ant
-        ant.conf)
-sha256sums=('eb9306e8b8322bb09b78cc3d8e288398f9cb657d76ffc61ee3fb175e786e8365'
-            '182b9212610790966d3a018d3cbab2e5327dd9fd11dc15dd1f377853216f5718'
-            '919a3ab1acae1d0d190fe6e0034b00975caab40e55359a720bfccd098fe2d995'
-            '3de451d0f963ba96e83f4e068a8325e3d4fc42b1e5c4818e9d7962ed4f5393b3'
-            '0823bf8d512c970f540ccad86045bc6a4a98de8cc036b00a36bd01550ee67b20'
-            'b86ce60f61cbd85a9faa61d698b0fc4607f1ff375cd15673aee57f053012eacb')
-
-_ant_home=/usr/share/${pkgname}
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  # ant needs HOME to download libs to $HOME/.m2/repository
-  export ANT_OPTS="-Duser.home=${srcdir}"
-  ant -Ddest=optional -f fetch.xml
-
-  rm lib/optional/junit-4.11.jar
-  ln -s /usr/share/java/junit.jar lib/optional/junit-4.11.jar
-  rm lib/optional/hamcrest-core-1.3.jar
-  ln -s /usr/share/java/hamcrest-core.jar lib/optional/hamcrest-core-1.3.jar
-
-  ant dist
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}-${pkgver}"
-
-  install -dm755 ${pkgdir}${_ant_home}
-
-  install -dm755 ${pkgdir}/etc/${pkgname}
-  cp -Rp etc/* ${pkgdir}/etc/${pkgname}
-  rm ${pkgdir}/etc/${pkgname}/ant-bootstrap.jar
-  ln -s /etc/${pkgname} ${pkgdir}${_ant_home}/etc
-
-  install -dm755 ${pkgdir}${_ant_home}/bin
-  find bin -type f -a ! -name \*.bat -a ! -name \*.cmd \
-    -exec install -m755 {} ${pkgdir}${_ant_home}/bin \;
-
-  install -Dm755 ${srcdir}/bin_ant ${pkgdir}/usr/bin/ant
-  install -Dm644 ${srcdir}/ant.conf ${pkgdir}/etc/apache-ant/ant.conf
-
-  install -dm755 ${pkgdir}/usr/share/java/${pkgname}
-  install -m644 lib/*.jar ${pkgdir}/usr/share/java/${pkgname}
-  ln -s /usr/share/java/${pkgname} ${pkgdir}${_ant_home}/lib
-
-  # fix python2 path
-  sed -i 's|/usr/bin/python|/usr/bin/python2|' ${pkgdir}${_ant_home}/bin/runant.py
-
-  # install profile.d script
-  install -dm755 ${pkgdir}/etc/profile.d
-  install -m755 "${srcdir}"/${pkgname}.{csh,sh} ${pkgdir}/etc/profile.d/
-
-  # License says NOTICE file should be redistributed for derivative works
-  cd ${srcdir}/${pkgname}-${pkgver}
-  install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
-  install -m644 LICENSE NOTICE ${pkgdir}/usr/share/licenses/${pkgname}
-}

Copied: apache-ant/repos/extra-any/PKGBUILD (from rev 212072, apache-ant/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-05-06 11:25:53 UTC (rev 212073)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+# Contributor: Andrew Wright <andreww at photism.org>
+# Contributor: Paul Mattal <paul at archlinux.org>
+pkgname=apache-ant
+pkgver=1.9.4
+pkgrel=1
+pkgdesc='A java-based build tool'
+arch=('any')
+url='http://ant.apache.org/'
+license=('APACHE')
+depends=('java-environment')
+makedepends=('java-environment' 'apache-ant' 'junit')
+optdepends=('junit: to use the junit tasks')
+install=${pkgname}.install
+source=(http://apache.org/dist/ant/source/${pkgname}-${pkgver}-src.tar.bz2
+        ${pkgname}.sh
+        ${pkgname}.csh
+        ${pkgname}.install
+        bin_ant
+        ant.conf)
+sha256sums=('ac594ff7dcd461ebb3e607493af7682f84b1ceaa0621e17ec6367b8d2c410a1c'
+            '182b9212610790966d3a018d3cbab2e5327dd9fd11dc15dd1f377853216f5718'
+            '919a3ab1acae1d0d190fe6e0034b00975caab40e55359a720bfccd098fe2d995'
+            '3de451d0f963ba96e83f4e068a8325e3d4fc42b1e5c4818e9d7962ed4f5393b3'
+            '0823bf8d512c970f540ccad86045bc6a4a98de8cc036b00a36bd01550ee67b20'
+            'b86ce60f61cbd85a9faa61d698b0fc4607f1ff375cd15673aee57f053012eacb')
+
+_ant_home=/usr/share/${pkgname}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # ant needs HOME to download libs to $HOME/.m2/repository
+  export ANT_OPTS="-Duser.home=${srcdir}"
+  ant -Ddest=optional -f fetch.xml
+
+  rm lib/optional/junit-4.11.jar
+  ln -s /usr/share/java/junit.jar lib/optional/junit-4.11.jar
+  rm lib/optional/hamcrest-core-1.3.jar
+  ln -s /usr/share/java/hamcrest-core.jar lib/optional/hamcrest-core-1.3.jar
+
+  ant dist
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}-${pkgver}"
+
+  install -dm755 ${pkgdir}${_ant_home}
+
+  install -dm755 ${pkgdir}/etc/${pkgname}
+  cp -Rp etc/* ${pkgdir}/etc/${pkgname}
+  rm ${pkgdir}/etc/${pkgname}/ant-bootstrap.jar
+  ln -s /etc/${pkgname} ${pkgdir}${_ant_home}/etc
+
+  install -dm755 ${pkgdir}${_ant_home}/bin
+  find bin -type f -a ! -name \*.bat -a ! -name \*.cmd \
+    -exec install -m755 {} ${pkgdir}${_ant_home}/bin \;
+
+  install -Dm755 ${srcdir}/bin_ant ${pkgdir}/usr/bin/ant
+  install -Dm644 ${srcdir}/ant.conf ${pkgdir}/etc/apache-ant/ant.conf
+
+  install -dm755 ${pkgdir}/usr/share/java/${pkgname}
+  install -m644 lib/*.jar ${pkgdir}/usr/share/java/${pkgname}
+  ln -s /usr/share/java/${pkgname} ${pkgdir}${_ant_home}/lib
+
+  # fix python2 path
+  sed -i 's|/usr/bin/python|/usr/bin/python2|' ${pkgdir}${_ant_home}/bin/runant.py
+
+  # install profile.d script
+  install -dm755 ${pkgdir}/etc/profile.d
+  install -m755 "${srcdir}"/${pkgname}.{csh,sh} ${pkgdir}/etc/profile.d/
+
+  # License says NOTICE file should be redistributed for derivative works
+  cd ${srcdir}/${pkgname}-${pkgver}
+  install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE NOTICE ${pkgdir}/usr/share/licenses/${pkgname}
+}

Deleted: ant.conf
===================================================================
--- ant.conf	2014-05-06 11:25:14 UTC (rev 212072)
+++ ant.conf	2014-05-06 11:25:53 UTC (rev 212073)
@@ -1,4 +0,0 @@
-# Apache Ant start script configuration file
-
-# Optional jars and their dependencies
-OPT_JAR_LIST=/usr/share/java/junit.jar

Copied: apache-ant/repos/extra-any/ant.conf (from rev 212072, apache-ant/trunk/ant.conf)
===================================================================
--- ant.conf	                        (rev 0)
+++ ant.conf	2014-05-06 11:25:53 UTC (rev 212073)
@@ -0,0 +1,4 @@
+# Apache Ant start script configuration file
+
+# Optional jars and their dependencies
+OPT_JAR_LIST=/usr/share/java/junit.jar

Deleted: apache-ant.csh
===================================================================
--- apache-ant.csh	2014-05-06 11:25:14 UTC (rev 212072)
+++ apache-ant.csh	2014-05-06 11:25:53 UTC (rev 212073)
@@ -1 +0,0 @@
-setenv ANT_HOME /usr/share/apache-ant

Copied: apache-ant/repos/extra-any/apache-ant.csh (from rev 212072, apache-ant/trunk/apache-ant.csh)
===================================================================
--- apache-ant.csh	                        (rev 0)
+++ apache-ant.csh	2014-05-06 11:25:53 UTC (rev 212073)
@@ -0,0 +1 @@
+setenv ANT_HOME /usr/share/apache-ant

Deleted: apache-ant.install
===================================================================
--- apache-ant.install	2014-05-06 11:25:14 UTC (rev 212072)
+++ apache-ant.install	2014-05-06 11:25:53 UTC (rev 212073)
@@ -1,11 +0,0 @@
-post_install() {
-  # Small fix after mistake in previous package version
-  if [ -e /usr/share/apache-ant/etc/apache-ant ]
-  then
-    unlink /usr/share/apache-ant/etc/apache-ant
-  fi
-}
-
-post_upgrade() {
-  post_install
-}

Copied: apache-ant/repos/extra-any/apache-ant.install (from rev 212072, apache-ant/trunk/apache-ant.install)
===================================================================
--- apache-ant.install	                        (rev 0)
+++ apache-ant.install	2014-05-06 11:25:53 UTC (rev 212073)
@@ -0,0 +1,11 @@
+post_install() {
+  # Small fix after mistake in previous package version
+  if [ -e /usr/share/apache-ant/etc/apache-ant ]
+  then
+    unlink /usr/share/apache-ant/etc/apache-ant
+  fi
+}
+
+post_upgrade() {
+  post_install
+}

Deleted: apache-ant.sh
===================================================================
--- apache-ant.sh	2014-05-06 11:25:14 UTC (rev 212072)
+++ apache-ant.sh	2014-05-06 11:25:53 UTC (rev 212073)
@@ -1 +0,0 @@
-export ANT_HOME=/usr/share/apache-ant

Copied: apache-ant/repos/extra-any/apache-ant.sh (from rev 212072, apache-ant/trunk/apache-ant.sh)
===================================================================
--- apache-ant.sh	                        (rev 0)
+++ apache-ant.sh	2014-05-06 11:25:53 UTC (rev 212073)
@@ -0,0 +1 @@
+export ANT_HOME=/usr/share/apache-ant

Deleted: bin_ant
===================================================================
--- bin_ant	2014-05-06 11:25:14 UTC (rev 212072)
+++ bin_ant	2014-05-06 11:25:53 UTC (rev 212073)
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-. /etc/apache-ant/ant.conf
-
-export LOCALCLASSPATH=${OPT_JAR_LIST}
-/usr/share/apache-ant/bin/ant $@

Copied: apache-ant/repos/extra-any/bin_ant (from rev 212072, apache-ant/trunk/bin_ant)
===================================================================
--- bin_ant	                        (rev 0)
+++ bin_ant	2014-05-06 11:25:53 UTC (rev 212073)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+. /etc/apache-ant/ant.conf
+
+export LOCALCLASSPATH=${OPT_JAR_LIST}
+/usr/share/apache-ant/bin/ant $@




More information about the arch-commits mailing list