[arch-commits] Commit in swt/trunk (PKGBUILD)

Guillaume Alaux guillaume at archlinux.org
Sat May 30 18:12:56 UTC 2015


    Date: Saturday, May 30, 2015 @ 20:12:56
  Author: guillaume
Revision: 239945

Upstream release 4.4.2

Modified:
  swt/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-30 18:01:22 UTC (rev 239944)
+++ PKGBUILD	2015-05-30 18:12:56 UTC (rev 239945)
@@ -1,9 +1,10 @@
 # $Id$
 # Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
 pkgname=swt
-pkgver=4.4
+# http://download.eclipse.org/eclipse/downloads/drops4
+pkgver=4.4.2
 pkgrel=1
-_date=201406061215
+_date=201502041700
 pkgdesc='An open source widget toolkit for Java'
 arch=('i686' 'x86_64')
 url='http://www.eclipse.org/swt/'
@@ -11,19 +12,16 @@
 depends=('java-runtime>=6' 'gtk2>=2.20.1' 'libxtst')
 optdepends=('libgnomeui' 'glu' 'webkitgtk2')
 makedepends=('java-environment' 'libxtst' 'glu' 'libgnomeui' 'unzip' 'pkgconfig' 'webkitgtk2' 'apache-ant')
-if [ "${CARCH}" = "i686" ]; then
-  _carch=x86
-  sha256sums=('c11ba885bed2716e22291401001859404c696b3e72dafd87ea44ff99588bbd5b'
-              '6bb48007a95e3d8c6b577cc9cc4b61a51ce928b04f4fcd393cf72f8f727fe923')
-fi
-if [ "${CARCH}" = "x86_64" ]; then
-  _carch=x86_64
-  sha256sums=('90fdbd56c74c1e63aa1fd781f1ca54aa24623aeedf8b5f2e15dff91abf98a7b4'
-              '6bb48007a95e3d8c6b577cc9cc4b61a51ce928b04f4fcd393cf72f8f727fe923')
-fi
-source=(http://download.eclipse.org/eclipse/downloads/drops4/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-${_carch}.zip
-        build-swt.xml)
-# To test this pkg:
+
+source=(build-swt.xml)
+source_i686=(http://download.eclipse.org/eclipse/downloads/drops4/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-x86.zip)
+source_x86_64=(http://download.eclipse.org/eclipse/downloads/drops4/R-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-x86_64.zip)
+
+sha256sums=('6bb48007a95e3d8c6b577cc9cc4b61a51ce928b04f4fcd393cf72f8f727fe923')
+sha256sums_i686=('48f2ff63217d20a2abe3ce083f4e04da75aa6f9fa5675b1dd2a57e3151c6fe53')
+sha256sums_x86_64=('fdfd66d4c2d5c92a2d505961b8e1738bedbdda0e910e45dafc2bd568c146307c')
+
+# These examples don't even run anymore (Try Tux Guitar instead)!
 # http://www.eclipse.org/swt/examples.php#standaloneOutsideEclipse
 # http://download.eclipse.org/eclipse/downloads/
 
@@ -33,7 +31,7 @@
   cd ${srcdir}
   unzip -oq src.zip -d src
 
-  . /etc/profile.d/jdk.sh
+  export JAVA_HOME=/usr/lib/jvm/default
   . /etc/profile.d/apache-ant.sh
 
   # Shared objects



More information about the arch-commits mailing list