summaryrefslogtreecommitdiff
path: root/community/mysql-workbench/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mysql-workbench/PKGBUILD')
-rw-r--r--community/mysql-workbench/PKGBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/community/mysql-workbench/PKGBUILD b/community/mysql-workbench/PKGBUILD
index 7022c11b8..e38e78997 100644
--- a/community/mysql-workbench/PKGBUILD
+++ b/community/mysql-workbench/PKGBUILD
@@ -1,32 +1,36 @@
-# $Id: PKGBUILD 42510 2011-03-17 12:19:39Z andrea $
+# $Id: PKGBUILD 46305 2011-05-04 18:56:20Z andrea $
# Maintainer:
# Contributor : Ionut Biru <ibiru@archlinux.org>
# Contributor: totoloco <totoloco at gmail _dot_com>
pkgname=mysql-workbench
-pkgver=5.2.33
-pkgrel=2
+epoch=1
+pkgver=5.2.33b
+pkgrel=1
pkgdesc="A cross-platform, visual database design tool developed by MySQL"
arch=('i686' 'x86_64')
-url="http://dev.mysql.com/workbench/"
+url="http://wb.mysql.com/"
license=('GPL2')
-depends=('libgnome' 'libzip' 'libmysqlclient' 'lua' 'gtkmm' 'libglade' 'libgl' 'libsigc++' 'python-paramiko' 'python-pexpect')
+depends=('libgnome' 'libzip' 'libmysqlclient' 'lua' 'gtkmm' 'libglade' 'libgl'
+ 'libsigc++' 'python-paramiko' 'python-pexpect')
makedepends=('boost' 'curl' 'mesa')
options=('!libtool')
source=(ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQLGUITools/${pkgname}-gpl-${pkgver}-src.tar.gz
- ArchLinux.xml arch.patch python27.patch)
-md5sums=('d97a1512c8c8ad54ae83441f8ea5c4b8'
+ ArchLinux.xml arch.patch python27.patch gcc46.patch)
+md5sums=('850e081eeaea87a88c408483817e4b1f'
'c2f986cd5737413d020c55db32713c48'
'23430d24400fd65c9fd872bd8e2411e5'
- '47bc4cdfaa035a0132392e94c462ebf7')
+ '47bc4cdfaa035a0132392e94c462ebf7'
+ '8e7a6d5aa59b73727e862724f115d90a')
build() {
- cd "${srcdir}/${pkgname}-gpl-${pkgver}-src"
+ cd "${srcdir}/${pkgname}-gpl-5.2.33-src"
cp "${srcdir}/ArchLinux.xml" res/mysql.profiles
patch -Np1 -i ${srcdir}/arch.patch
patch -Np0 -i ${srcdir}/python27.patch
+ patch -p1 -i ${srcdir}/gcc46.patch
#we use System provided libraries
rm -rf ext/curl
@@ -35,14 +39,14 @@ build() {
rm -rf ext/libsigc++
export CPPFLAGS=$(pkg-config --cflags sigc++-2.0)
- unset LDFLAGS
+ export CXXFLAGS="$CXXFLAGS -fpermissive"
./autogen.sh --prefix=/usr --disable-debug --disable-static
make
}
package() {
- cd "${srcdir}/${pkgname}-gpl-${pkgver}-src"
+ cd "${srcdir}/${pkgname}-gpl-5.2.33-src"
make DESTDIR="${pkgdir}" install
sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" $pkgdir/usr/share/mysql-workbench/sshtunnel.py