# $Id: PKGBUILD 206684 2014-03-04 22:49:29Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru # Contributor: Paul Mattal # Contributor: Andrew Wright # Contributor: Andreas W. Hauser # Contributor: Marco Crosio pkgname=eclipse pkgver=4.3.2 pkgrel=2 _release=kepler-SR2 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' 'e07b2ccfc4689c288fd876a4beb8403d' 'ba2cf02c48e6e35bfe3685401c26bb5b') if (( ! GENINTEG )); then if [[ $CARCH == x86_64 ]]; then source=("${source[@]:1}") md5sums=("${md5sums[@]:1}") else source=("${source[0]}" "${source[@]:2}") md5sums=("${md5sums[0]}" "${md5sums[@]:2}") fi fi package() { install -d "$pkgdir/usr/share" cp -a eclipse "$pkgdir/usr/share" install -D eclipse.sh "$pkgdir/usr/bin/eclipse" install -Dm644 eclipse.desktop "$pkgdir/usr/share/applications/eclipse.desktop" for _i in 16 32 48 256; do install -Dm644 eclipse/plugins/org.eclipse.platform_*/eclipse${_i}.png \ "$pkgdir/usr/share/icons/hicolor/${_i}x${_i}/apps/eclipse.png" done }