# $Id: PKGBUILD 151016 2012-02-24 13:23:21Z andrea $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Paul Mattal <paul@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgname=eclipse-cdt
pkgver=8.1.0
pkgrel=2
pkgdesc="C/C++ Plugin for Eclipse"
arch=('any')
url="http://www.eclipse.org/cdt"
license=("EPL")
depends=('eclipse=4.2' 'libxtst')
source=("http://download.eclipse.org/tools/cdt/releases/juno/r/cdt-master-$pkgver.zip")
sha256sums=('fd86678d9f8dea2ac6c2a0a8db329fc5129af551c644b070dcbbc163132e480c')

package() {
  _installdir="$pkgdir/usr/share/eclipse/dropins/cdt"

  cd "$srcdir"
  install -d "$_installdir/eclipse"
  cp -a features "$_installdir/eclipse"
  cp -a plugins "$_installdir/eclipse"
}

# vim:set ts=2 sw=2 et:
