PKGBUILDs/extra/eclipse-cdt/PKGBUILD

27 lines
805 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 53974 2009-10-04 16:26:05Z paul $
# Contributor: Paul Mattal <paul@mattal.com>
# Maintainer: Paul Mattal <paul@archlinux.org>
pkgname=eclipse-cdt
pkgver=6.0.1
pkgrel=1
pkgdesc="C/C++ Plugin for Eclipse"
arch=(i686 x86_64)
url="http://www.eclipse.org/cdt"
license=("EPL")
depends=('eclipse>=3.5')
install=
source=(http://download.eclipse.org/tools/cdt/releases/galileo/dist/cdt-master-$pkgver.zip)
noextract=("cdt-master-$pkgver.zip")
build() {
installdir=$startdir/pkg/usr/share/eclipse/dropins
cd $startdir/src || return 1
unzip cdt-master-$pkgver.zip || return 1
mkdir -p $installdir/eclipse || return 1
cp -a $startdir/src/features $installdir/eclipse || return 1
cp -a $startdir/src/plugins $installdir/eclipse || return 1
}
md5sums=('91d4d99728fda96b476182fcb04a6290')