extra/swt to 4.5-1.1

closes #1364
This commit is contained in:
Kevin Mihelich 2016-04-30 16:55:53 +00:00
parent a2336c6e95
commit e4e3a5bc69

View file

@ -1,13 +1,13 @@
# $Id$
# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
# ALARM: Thomas Laroche <tho.laroche@gmail.com>
# - removed download choice based on architecture, this is always recompiled from source
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - source changes for ARM
pkgname=swt
# http://download.eclipse.org/eclipse/downloads/drops4
pkgver=4.5
pkgrel=1
pkgrel=1.1
_date=201506032000
pkgdesc='An open source widget toolkit for Java'
arch=('i686' 'x86_64')
@ -16,10 +16,16 @@ license=('EPL')
depends=('java-runtime>=6' 'gtk2>=2.20.1' 'libxtst')
optdepends=('libgnomeui' 'glu' 'webkitgtk2')
makedepends=('java-environment' 'libxtst' 'glu' 'libgnomeui' 'unzip' 'pkgconfig' 'webkitgtk2' 'apache-ant')
source=(http://download.eclipse.org/eclipse/downloads/drops4/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-x86.zip
build-swt.xml)
sha256sums=('180cf993af914726e6da9abe669a636b057e9353058e76be7644b31955feb00e'
'6bb48007a95e3d8c6b577cc9cc4b61a51ce928b04f4fcd393cf72f8f727fe923')
source=(build-swt.xml)
sha256sums=('6bb48007a95e3d8c6b577cc9cc4b61a51ce928b04f4fcd393cf72f8f727fe923')
if [[ $CARCH == "aarch64" ]]; then
source+=(http://download.eclipse.org/eclipse/downloads/drops4/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-x86_64.zip)
sha256sums+=('ce89cb9dea5bef927873cbc377a81b5d9f1995622e42402bd9600043a9bc00e3')
else
source+=(http://download.eclipse.org/eclipse/downloads/drops4/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-x86.zip)
sha256sums+=('180cf993af914726e6da9abe669a636b057e9353058e76be7644b31955feb00e')
fi
# These examples don't even run anymore (Try Tux Guitar instead)!
# http://www.eclipse.org/swt/examples.php#standaloneOutsideEclipse