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

Jan Steffens heftig at nymeria.archlinux.org
Wed Jun 25 19:06:34 UTC 2014


    Date: Wednesday, June 25, 2014 @ 21:06:34
  Author: heftig
Revision: 215445

4.4.0, split source

Modified:
  eclipse/trunk/PKGBUILD

----------+
 PKGBUILD |   34 +++++++++++++++++++++++++---------
 1 file changed, 25 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-25 18:41:48 UTC (rev 215444)
+++ PKGBUILD	2014-06-25 19:06:34 UTC (rev 215445)
@@ -6,21 +6,21 @@
 # Contributor: Andreas W. Hauser <andy-aur at splashground.de>
 # Contributor: Marco Crosio <marco.crosio at gmail.com>
 
-pkgname=eclipse
-pkgver=4.3.2
-pkgrel=2
-_release=kepler-SR2
+pkgbase=eclipse
+pkgname=(eclipse eclipse-source)
+pkgver=4.4.0
+pkgrel=1
+_release=luna-R
 pkgdesc="An IDE for Java and other languages"
 license=("EPL")
 arch=('i686' 'x86_64')
 url="http://eclipse.org"
 depends=('java-environment' 'gtk2' 'unzip' 'webkitgtk2' 'libxtst')
-install=${pkgname}.install
 source=("http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/${_release/-//}/$pkgname-standard-$_release-linux-gtk.tar.gz"
         "http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/${_release/-//}/$pkgname-standard-$_release-linux-gtk-x86_64.tar.gz"
         'eclipse.sh' 'eclipse.desktop')
-md5sums=('3fbb62eeef189dc0a45ff4c020588d6f'
-         'b72d5a6caae4e2fd86be2f2f134fc8cb'
+md5sums=('cc700cc2eb164f5da3563e8c5157b373'
+         '44a8a5ae5e74da7b3764da774a505632'
          'e07b2ccfc4689c288fd876a4beb8403d'
          'ba2cf02c48e6e35bfe3685401c26bb5b')
 
@@ -34,9 +34,17 @@
   fi
 fi
 
-package() {
+prepare() {
+  mkdir -p eclipse-source/{features,plugins}
+  mv eclipse/features/*.source_* eclipse-source/features
+  mv eclipse/plugins/*.source_*  eclipse-source/plugins
+}
+
+package_eclipse() {
+  install=eclipse.install
+
   install -d "$pkgdir/usr/share"
-  cp -a eclipse "$pkgdir/usr/share"
+  cp -a eclipse "$pkgdir/usr/share/eclipse"
 
   install -D eclipse.sh "$pkgdir/usr/bin/eclipse"
   install -Dm644 eclipse.desktop "$pkgdir/usr/share/applications/eclipse.desktop"
@@ -46,3 +54,11 @@
       "$pkgdir/usr/share/icons/hicolor/${_i}x${_i}/apps/eclipse.png"
   done
 }
+
+package_eclipse-source() {
+  pkgdesc="Source components of the Eclipse IDE"
+  depends=('eclipse')
+
+  install -d "$pkgdir/usr/share"
+  cp -a eclipse-source "$pkgdir/usr/share/eclipse"
+}




More information about the arch-commits mailing list