[arch-commits] Commit in eclipse/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Sun Jul 8 12:50:02 UTC 2012


    Date: Sunday, July 8, 2012 @ 08:50:01
  Author: ibiru
Revision: 163176

update to 4.2

Modified:
  eclipse/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-07-08 10:43:05 UTC (rev 163175)
+++ PKGBUILD	2012-07-08 12:50:01 UTC (rev 163176)
@@ -6,9 +6,9 @@
 # Contributor: Marco Crosio <marco.crosio at gmail.com>
 
 pkgname=eclipse
-pkgver=3.7.2
-pkgrel=3
-_date=201202080800
+pkgver=4.2
+pkgrel=1
+_date=201206081400
 pkgdesc="An IDE for Java and other languages"
 arch=('i686' 'x86_64')
 url="http://eclipse.org"
@@ -17,36 +17,36 @@
 makedepends=('zip')
 conflicts=('xulrunner')
 license=("EPL/1.1")
-source=("ftp://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/R-$pkgver-${_date}/$pkgname-SDK-$pkgver-linux-gtk.tar.gz"
+source=("ftp://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops4/R-$pkgver-${_date}/$pkgname-SDK-$pkgver-linux-gtk.tar.gz"
 	 'eclipse.sh' 'eclipse.desktop' 'eclipse.svg')
-md5sums=('79b90faa1ee6e7af1910c3a5077b594f'
+md5sums=('506b9f4e3919ebe3d6a717cd9bef5e07'
          '7ea99a30fbaf06ec29261541b8eb1e23'
          'ba8a37e30a7ebd69774cec87c69e8c44'
          '77cff7543ccf7e177cb6667f5a20ce19')
-[ "$CARCH" = "x86_64" ] && source[0]="ftp://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/R-$pkgver-${_date}/$pkgname-SDK-$pkgver-linux-gtk-$CARCH.tar.gz"
-[ "$CARCH" = "x86_64" ] && md5sums[0]='6a0fd32cb6a986032a67defab3753476'
+[ "$CARCH" = "x86_64" ] && source[0]="ftp://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops4/R-$pkgver-${_date}/$pkgname-SDK-$pkgver-linux-gtk-$CARCH.tar.gz"
+[ "$CARCH" = "x86_64" ] && md5sums[0]='804938dd087c310d8bfd54c8024afbbd'
 
 package() {
-  cd "$srcdir/eclipse"
-
   # install eclipse
   install -m755 -d "$pkgdir/usr/share"
-  mv "$srcdir/eclipse" "$pkgdir/usr/share/"
+  mv eclipse "$pkgdir/usr/share/"
 
   # install misc
   install -d $pkgdir/usr/bin $pkgdir/usr/share/applications \
-    $pkgdir/usr/share/icons/hicolor/{16x16,32x32,48x48}/apps
-  install -m755 "$srcdir/eclipse.sh" "$pkgdir/usr/bin/eclipse"
-  install -m644 "$srcdir/eclipse.desktop" "$pkgdir/usr/share/applications/"
+    $pkgdir/usr/share/icons/hicolor/{16x16,32x32,48x48,256x256}/apps
+  install -m755 eclipse.sh "$pkgdir/usr/bin/eclipse"
+  install -m644 eclipse.desktop "$pkgdir/usr/share/applications/"
   ln -s /usr/share/eclipse/plugins/org.eclipse.sdk_$pkgver.v${_date}/eclipse.png \
     "$pkgdir/usr/share/icons/hicolor/16x16/apps/eclipse.png"
   ln -s /usr/share/eclipse/plugins/org.eclipse.sdk_$pkgver.v${_date}/eclipse32.png \
     "$pkgdir/usr/share/icons/hicolor/32x32/apps/eclipse.png"
   ln -s /usr/share/eclipse/plugins/org.eclipse.sdk_$pkgver.v${_date}/eclipse48.png \
     "$pkgdir/usr/share/icons/hicolor/48x48/apps/eclipse.png"
+  ln -s /usr/share/eclipse/plugins/org.eclipse.sdk_$pkgver.v${_date}/eclipse256.png \
+    "$pkgdir/usr/share/icons/hicolor/256x256/apps/eclipse.png"
 
   # install icon
   install -Dm644 "$srcdir"/eclipse.svg \
     "$pkgdir"/usr/share/icons/hicolor/scalable/apps/eclipse.svg
-  sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" "$pkgdir"/usr/share/eclipse/plugins/org.apache.ant_1.8.2.v20120109-1030/bin/runant.py
+  sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" "$pkgdir"/usr/share/eclipse/plugins/org.apache.ant_1.8.3.v20120321-1730/bin/runant.py
 }




More information about the arch-commits mailing list