summaryrefslogtreecommitdiff
path: root/extra/swt
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-10 00:03:51 +0000
committerroot <root@rshg054.dnsready.net>2012-09-10 00:03:51 +0000
commit2a4c41bf2946fad65b14cf1b4ea284ebce0f11f3 (patch)
tree851a0ed5423f6dad7e4b532c6a23f0eaf42aea9b /extra/swt
parentf393cb99c2cc66d9c323fae18bab2c0dd57ac41f (diff)
Mon Sep 10 00:03:51 UTC 2012
Diffstat (limited to 'extra/swt')
-rw-r--r--extra/swt/PKGBUILD23
-rw-r--r--extra/swt/build-swt.xml2
2 files changed, 11 insertions, 14 deletions
diff --git a/extra/swt/PKGBUILD b/extra/swt/PKGBUILD
index 638587d1e..a27856a13 100644
--- a/extra/swt/PKGBUILD
+++ b/extra/swt/PKGBUILD
@@ -1,36 +1,33 @@
-# $Id: PKGBUILD 166346 2012-09-06 20:23:30Z guillaume $
+# $Id: PKGBUILD 166495 2012-09-08 11:23:32Z guillaume $
# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
pkgname=swt
-pkgver=3.7.2
-pkgrel=2
-_date=201202080800
+pkgver=4.2
+pkgrel=1
+_date=201206081400
pkgdesc="An open source widget toolkit for Java"
arch=('i686' 'x86_64')
url="http://www.eclipse.org/swt/"
license=('EPL')
-depends=('java-runtime>=7' 'gtk2>=2.20.1' 'libxtst')
+depends=('java-runtime>=6' 'gtk2>=2.20.1' 'libxtst')
optdepends=('libgnomeui' 'mesa' 'libwebkit')
makedepends=('java-environment' 'libxtst' 'mesa' 'libgnomeui' 'unzip' 'pkgconfig' 'libwebkit' 'apache-ant')
if [ "${CARCH}" = "i686" ]; then
_carch=x86
- md5sums=('9a858b11e66de8af41786eaf09fc9ee2'
- 'f5e548bc26a0f1f3c18131be76face40')
+ md5sums=('3efe0404f6129183abae46f7620fe14f'
+ '2f556ab534fc2488c6e8c0ee6c02825c')
fi
if [ "${CARCH}" = "x86_64" ]; then
_carch=x86_64
- md5sums=('b16ab5c9d274b9488432ebeae6e4af5a'
- 'f5e548bc26a0f1f3c18131be76face40')
+ md5sums=('9e06b576116ff409f395571603582827'
+ '2f556ab534fc2488c6e8c0ee6c02825c')
fi
-source=(http://download.eclipse.org/eclipse/downloads/drops/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-${_carch}.zip
+source=(http://download.eclipse.org/eclipse/downloads/drops4/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-${_carch}.zip
build-swt.xml)
-noextract=(swt-${pkgver}-gtk-linux-${_carch}.zip)
# To test this pkg:
# http://www.eclipse.org/swt/examples.php#standaloneOutsideEclipse
-# http://download.eclipse.org/eclipse/downloads/drops/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-${_carch}.zip
build() {
cd ${srcdir}
- unzip -oq swt-${pkgver}-gtk-linux-${_carch}.zip src.zip
unzip -oq src.zip -d src
. /etc/profile.d/jdk.sh
diff --git a/extra/swt/build-swt.xml b/extra/swt/build-swt.xml
index ea775871b..a161204f8 100644
--- a/extra/swt/build-swt.xml
+++ b/extra/swt/build-swt.xml
@@ -8,7 +8,7 @@
</target>
<target name="compile" depends="init" description="Compile the SWT toolset">
- <javac srcdir="${src}" destdir="${build}"/>
+ <javac srcdir="${src}" destdir="${build}" target="1.6" />
</target>
<target name="jar">