Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=21787799e1cbd9a94f3559f37d1d0b1978e55a15

commit 21787799e1cbd9a94f3559f37d1d0b1978e55a15
Author: Marius Cirsta <mcir...@frugalware.org>
Date:   Fri Apr 29 17:15:58 2016 +0300

swt-3.7.2-4-x86_64

* change m8r
* version bump

diff --git a/source/xlib-extra/swt/FrugalBuild 
b/source/xlib-extra/swt/FrugalBuild
index 3b5bf93..f511543 100644
--- a/source/xlib-extra/swt/FrugalBuild
+++ b/source/xlib-extra/swt/FrugalBuild
@@ -1,6 +1,6 @@
# Compiling Time: 0.09 SBU
# Contributor: Miklos Vajna <vmik...@frugalware.org>
-# Maintainer: voroskoi <voros...@frugalware.org>
+# Maintainer: Marius Cirsta <mcir...@frugalware.org>

pkgname=swt
pkgver=3.7.2
@@ -10,13 +10,25 @@ pkgdesc="SWT is an open source widget toolkit for Java 
designed to provide effic
url="http://www.eclipse.org/swt";
Finclude openjava
depends=(${depends[@]} 'gtk+2>=2.16.2-2' 'atk' 'libxtst' 'libstdc++' 
'freetype2' 'pango' 'cairo' 'libglu')
+makedepends+=('x11-protos')
groups=('xlib-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://www.eclipse.org/swt/ |grep linux.*zip |sed -ne 
's/.*t-\(.*\)-g.*/\1/;1p'"
-source=(http://download.eclipse.org/eclipse/downloads/drops/R-$pkgver-$date/swt-$pkgver-gtk-linux-x86.zip
 \
+
+if [ $CARCH = x86_64 ]; then
+source=(http://download.eclipse.org/eclipse/downloads/drops4/R-$pkgver-$date/swt-${pkgver}-gtk-linux-x86_64.zip
 \
+       build.xml)
+sha1sums=('eb26c383844f38754f738c7063f15190c4ea55af' \
+          '3305b8b293472591d7fb881f9084495249b929ad')
+fi
+
+if [ $CARCH = i686 ]; then
+source=(http://download.eclipse.org/eclipse/downloads/drops4/R-$pkgver-$date/swt-${pkgver}-gtk-linux-x86.zip
 \
build.xml)
-sha1sums=('1664a5d5b8121c2459ea78026cf58d986cd17f16' \
+sha1sums=('dbf5267d0cd56102efb80448433be4fe439604b2' \
'3305b8b293472591d7fb881f9084495249b929ad')
+fi
+

build()
{
@@ -28,9 +40,7 @@ build()
cp $Fsrcdir/build.xml ./
mkdir src
mv org src
-       Fsed '^CFLAGS = .*' 'CFLAGS += \\' make_linux.mak
-       #64 bit needs this to work
-       [ "$CARCH" == "x86_64" ] && Fant replace.32.to.64
+
for i in awt swt atk glx cairo
do
make -f make_linux.mak make_$i || return 1
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to