# $Id: PKGBUILD 1801 2009-09-03 23:47:55Z ibiru $ # Maintainer : Biru Ionut # Contributor: totoloco pkgname=mysql-workbench pkgver=5.1.18 pkgrel=1 pkgdesc="MySQL Workbench is a cross-platform, visual database design tool developed by MySQL." arch=('i686' 'x86_64') url="http://dev.mysql.com/workbench/" license=('GPL2') depends=('libgnome' 'libzip' 'libmysqlclient' 'lua' 'gtkmm' 'libglade') makedepends=('glib' 'boost' 'curl' 'openssl' 'mesa') optdepends=('python: For python modules') options=('!libtool') source=(ftp://mirror.anl.gov/pub/mysql/Downloads/MySQLGUITools/$pkgname-oss-$pkgver.tar.gz) build() { cd "$srcdir/$pkgname-oss-$pkgver" #we use System provided libraries rm -rf ext/curl rm -rf ext/yassl rm -rf ext/boost rm -rf ext/libsigc++ export CPPFLAGS=$(pkg-config --cflags sigc++-2.0) ./autogen.sh --prefix=/usr --disable-debug \ --enable-python-modules --disable-static make || return 1 make DESTDIR="$pkgdir" install } md5sums=('f136bac3e808cadda36321ac0e644399')