summaryrefslogtreecommitdiff
path: root/community/gambas3/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-17 01:18:25 -0700
committerroot <root@rshg054.dnsready.net>2013-06-17 01:18:25 -0700
commit3c8e479bfe9fab72058c833f2909a26232114733 (patch)
tree18202d3eaa2c9001216c161e395eb2d39a8d05fd /community/gambas3/PKGBUILD
parent44c10f274ec720a1512b15457b9eeffea28c6041 (diff)
Mon Jun 17 01:18:13 PDT 2013
Diffstat (limited to 'community/gambas3/PKGBUILD')
-rw-r--r--community/gambas3/PKGBUILD22
1 files changed, 16 insertions, 6 deletions
diff --git a/community/gambas3/PKGBUILD b/community/gambas3/PKGBUILD
index a09d1d043..7162408b0 100644
--- a/community/gambas3/PKGBUILD
+++ b/community/gambas3/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 91592 2013-05-25 02:56:17Z foutrelis $
+# $Id: PKGBUILD 92837 2013-06-16 17:21:06Z foutrelis $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor : sebikul <sebikul@gmail.com>
@@ -16,7 +16,7 @@ _components=('gambas3-gb-args' 'gambas3-gb-cairo' 'gambas3-gb-chart' 'gambas3-gb
'gambas3-gb-xml-html' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-xml' 'gambas3-gb-web')
pkgname=(${_components[@]} 'gambas3-runtime' 'gambas3-devel' 'gambas3-ide' 'gambas3-script' 'gambas3-examples')
pkgver=3.4.1
-pkgrel=3
+pkgrel=4
pkgdesc="A free development environment based on a Basic interpreter."
arch=('i686' 'x86_64')
url="http://gambas.sourceforge.net/"
@@ -30,18 +30,28 @@ makedepends=('intltool' 'mariadb' 'postgresql' 'libffi' 'bzip2' 'glib2' 'v4l-uti
'gsl' 'gstreamer0.10' 'gstreamer0.10-base' 'gtkglext' 'ncurses' 'llvm'
'gmime')
options=(!emptydirs)
-source=("http://downloads.sourceforge.net/gambas/${pkgbase}-${pkgver}.tar.bz2")
-md5sums=('eef35861d1e95808180ac7ed5a436569')
+source=("http://downloads.sourceforge.net/gambas/${pkgbase}-${pkgver}.tar.bz2"
+ gambas3-3.4.1-llvm-3.3.patch)
+md5sums=('eef35861d1e95808180ac7ed5a436569'
+ '04bf972f5d5546118ecbcc1f24271216')
create_dirs() {
install -dm755 ${pkgdir}/usr/lib/gambas3
install -dm755 ${pkgdir}/usr/share/gambas3/info/control
}
-build() {
+prepare() {
cd ${srcdir}/${pkgbase}-${pkgver}
+ # Fix build with LLVM 3.3 (patch from Fedora)
+ patch -Np1 -i../gambas3-3.4.1-llvm-3.3.patch
+
./reconf-all
+}
+
+build() {
+ cd ${srcdir}/${pkgbase}-${pkgver}
+
./configure --prefix=/usr -C
make bindir=${pkgdir}/usr/bin
@@ -414,7 +424,7 @@ package_gambas3-gb-image() {
}
package_gambas3-gb-jit() {
- depends=('gambas3-runtime' 'llvm')
+ depends=('gambas3-runtime' 'llvm-libs')
pkgdesc="Just-in-time compiler component"
cd ${srcdir}/fakeinstall