[arch-commits] CVS update of extra/devel/eclipse-cdt (PKGBUILD)

Paul Mattal paul at archlinux.org
Tue Nov 27 21:47:49 UTC 2007


    Date: Tuesday, November 27, 2007 @ 16:47:49
  Author: paul
    Path: /home/cvs-extra/extra/devel/eclipse-cdt

Modified: PKGBUILD (1.9 -> 1.10)

upgpkg: eclipse-cdt 4.0.1-1
update to eclipse-cdt 4.0.1, requires eclipse 3.3 or higher, drops support for jdk 1.4


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


Index: extra/devel/eclipse-cdt/PKGBUILD
diff -u extra/devel/eclipse-cdt/PKGBUILD:1.9 extra/devel/eclipse-cdt/PKGBUILD:1.10
--- extra/devel/eclipse-cdt/PKGBUILD:1.9	Tue Apr  3 15:58:22 2007
+++ extra/devel/eclipse-cdt/PKGBUILD	Tue Nov 27 16:47:49 2007
@@ -1,29 +1,26 @@
-# $Id: PKGBUILD,v 1.9 2007/04/03 19:58:22 andyrtr Exp $
+# $Id: PKGBUILD,v 1.10 2007/11/27 21:47:49 paul Exp $
 # Contributor: Paul Mattal <paul at mattal.com>
 # Maintainer: Paul Mattal <paul at archlinux.org>
 pkgname=eclipse-cdt
-pkgver=3.1.2
+pkgver=4.0.1
 pkgrel=1
 pkgdesc="C/C++ Plugin for Eclipse"
 arch=(i686 x86_64)
 url="http://www.eclipse.org/cdt"
-license=""
-depends=('eclipse>=3.2' glibc)
+license=("EPL")
+depends=('eclipse>=3.3')
 makedepends=()
 conflicts=()
 replaces=()
 backup=()
 install=
-[ "$CARCH" = "i686" ] && source=(http://download.eclipse.org/tools/cdt/releases/callisto/dist/$pkgver/org.eclipse.cdt-$pkgver-linux.x86.tar.gz)
-[ "$CARCH" = "i686" ] && md5sums=('27bfed95ce118e6a11a1350b8b38fd3e')
-
-[ "$CARCH" = "x86_64" ] && source=(http://download.eclipse.org/tools/cdt/releases/callisto/dist/$pkgver/org.eclipse.cdt-$pkgver-linux.x86_64.tar.gz)
-[ "$CARCH" = "x86_64" ] && md5sums=('b221d7a78f77ce33de7fce6b60e3b782')
-
+source=(http://download.eclipse.org/tools/cdt/releases/europa/dist/cdt-master-$pkgver.zip)
+md5sums=('caf2aee8d43eb544a862ce99a8f7fdac')
 
 build() {
-  mkdir -p $startdir/pkg/opt || return 1
-  cp -a $startdir/src/eclipse $startdir/pkg/opt || return 1
-  # remove license files also included with eclipse
-  rm $startdir/pkg/opt/eclipse/{epl-v10.html,notice.html} || return 1
+  installdir=$startdir/pkg/usr/share
+
+  mkdir -p $installdir/eclipse || return 1
+  cp -a $startdir/src/features $installdir/eclipse || return 1
+  cp -a $startdir/src/plugins $installdir/eclipse || return 1
 }




More information about the arch-commits mailing list