Date: Monday, November 7, 2011 @ 15:43:40
  Author: guillaume
Revision: 142281

upgpkg: eclipse-ecj 3.7.1-1

Upstream release

Modified:
  eclipse-ecj/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-11-07 20:42:30 UTC (rev 142280)
+++ PKGBUILD    2011-11-07 20:43:40 UTC (rev 142281)
@@ -1,28 +1,34 @@
 # $Id$
-# Maintainer: Jan de Groot <j...@archlinux.org>
-# Maintainer: Allan McRae <al...@archlinux.org>
+# Maintainer: Guillaume ALAUX <guilla...@archlinux.org>
+# Contributor: Jan de Groot <j...@archlinux.org>
+# Contributor: Allan McRae <al...@archlinux.org>
 
 pkgname=eclipse-ecj
-pkgver=3.6.1
+pkgver=3.7.1
 pkgrel=1
-_date=201009090800
+_date=201109091335
 pkgdesc="Eclipse java bytecode compiler"
 arch=('any')
 license=('EPL')
 url="http://www.eclipse.org/";
 depends=('java-runtime')
-makedepends=('apache-ant' 'java-environment')
-source=(http://download.eclipse.org/eclipse/downloads/drops/R-${pkgver}-${_date}/ecjsrc-${pkgver}.zip
-       ecj)
-md5sums=('8a2b6222349dad952e7451fd47b6022b'
+makedepends=('unzip' 'apache-ant' 'java-environment')
+source=(http://download.eclipse.org/eclipse/downloads/drops/R-${pkgver}-${_date}/ecjsrc-${pkgver}.jar
+        ecj)
+md5sums=('038dbfa48f00009ab4fffcbd4a332dfe'
          '997d67f1d3e97f65e42e8ace7aba7260')
 
 build() {
-  ant
+  cd ${srcdir}
+  mkdir src
+  unzip ecjsrc-${pkgver}.jar -d src
+  cd src
+  ant build
 }
 
 package() {
-  install -Dm755 ecj.jar $pkgdir/usr/share/java/eclipse-ecj.jar
-  ln -s eclipse-ecj.jar $pkgdir/usr/share/java/ecj.jar
+  install -Dm644 ${srcdir}/src/ecj.jar 
$pkgdir/usr/share/java/eclipse-ecj-${pkgver}.jar
+  ln -s eclipse-ecj-${pkgver}.jar $pkgdir/usr/share/java/ecj.jar
+  ln -s eclipse-ecj-${pkgver}.jar $pkgdir/usr/share/java/eclipse-ecj.jar
   install -Dm755 ecj $pkgdir/usr/bin/ecj
 }

Reply via email to