diff options
Diffstat (limited to 'community/mysql-workbench/PKGBUILD')
-rw-r--r-- | community/mysql-workbench/PKGBUILD | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/community/mysql-workbench/PKGBUILD b/community/mysql-workbench/PKGBUILD deleted file mode 100644 index ca0b9e19a..000000000 --- a/community/mysql-workbench/PKGBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# $Id: PKGBUILD 60120 2011-12-05 17:20:12Z ibiru $ -# Maintainer: -# Contributor : Ionut Biru <ibiru@archlinux.org> -# Contributor: totoloco <totoloco at gmail _dot_com> - -pkgname=mysql-workbench -epoch=1 -pkgver=5.2.36 -pkgrel=1 -pkgdesc="A cross-platform, visual database design tool developed by MySQL" -arch=('i686' 'x86_64' 'mips64el') -url="http://wb.mysql.com/" -license=('GPL2') -depends=('libzip' 'libmysqlclient' 'lua' 'gtkmm' 'libgl' - 'libsigc++' 'python-paramiko' 'python-pexpect' 'libgnome-keyring') -makedepends=('boost' 'curl' 'mesa' 'python-sphinx') -options=('!libtool') -source=(ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQLGUITools/${pkgname}-gpl-${pkgver}-src.tar.gz - ArchLinux.xml arch.patch python27.patch gcc46.patch) -md5sums=('7408d80ddb647a7d5a8749b0ecad9620' - 'c2f986cd5737413d020c55db32713c48' - '23430d24400fd65c9fd872bd8e2411e5' - 'a3efb373bd85d876530a29bf1780fb6b' - '43917ebc79794ba15a64f7ba820fa20b') - -build() { - cd "${srcdir}/${pkgname}-gpl-${pkgver}-src" - - cp "${srcdir}/ArchLinux.xml" res/mysql.profiles - patch -Np1 -i ${srcdir}/arch.patch - - patch -Np1 -i ${srcdir}/python27.patch - patch -Np1 -i ${srcdir}/gcc46.patch - - ./autogen.sh --prefix=/usr --with-bundled-ctemplate \ - --disable-debug --disable-static - make - - pushd ext/mysql-utilities - python2 setup.py build - popd - - pushd ext/connector-python - python2 setup.py build - popd -} - -package() { - cd "${srcdir}/${pkgname}-gpl-${pkgver}-src" - - make DESTDIR="${pkgdir}" install - - pushd ext/mysql-utilities - python2 setup.py install --skip-profile --root $pkgdir --prefix=/usr --optimize=1 - popd - - pushd ext/connector-python - python2 setup.py install --root $pkgdir --prefix=/usr --optimize=1 - - sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ - -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ - -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \ - $(find ${pkgdir} -name '*.py') -} |