diff options
Diffstat (limited to 'extra/graphviz/PKGBUILD')
-rw-r--r-- | extra/graphviz/PKGBUILD | 38 |
1 files changed, 15 insertions, 23 deletions
diff --git a/extra/graphviz/PKGBUILD b/extra/graphviz/PKGBUILD index 884b8cec1..a2e97e5cf 100644 --- a/extra/graphviz/PKGBUILD +++ b/extra/graphviz/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 203404 2014-01-10 04:16:47Z bisson $ +# $Id: PKGBUILD 205075 2014-02-04 11:31:25Z heftig $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: kevin <kevin@archlinux.org> # Contributor: John Proctor <jproctor@prium.net> pkgname=graphviz -pkgver=2.34.0 -pkgrel=3 +pkgver=2.36.0 +pkgrel=2 pkgdesc='Graph visualization software' url='http://www.graphviz.org/' license=('CPL') arch=('i686' 'x86_64') depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts') -makedepends=('swig' 'mono' 'guile' 'lua51' 'ocaml' 'perl' 'php' 'python2' 'r' 'tk' 'qt4') +makedepends=('swig' 'mono' 'guile' 'lua51' 'ocaml' 'perl' 'php' 'python2' 'r' 'tk' 'qt4' 'gtk2') optdepends=('mono: sharp bindings' 'guile: guile bindings' 'lua51: lua bindings' @@ -21,30 +21,16 @@ optdepends=('mono: sharp bindings' 'python2: python bindings' 'r: r bindings' 'tcl: tcl bindings' - 'qt4: gvedit') -source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz" - 'yyerror0.patch' - 'yyerror1.patch' - 'dotty.patch') -sha1sums=('5a0c00bebe7f4c7a04523db21f40966dc9f0d441' - '7a6fe4f532974d9ca173b1aba9927bdeb5f80be9' - '6d76a230ee6c11bcd610ebe56f98e96ecef6217d' - '31bc9f505c8b6470289a0d6ec31c237765cba239') + 'qt4: gvedit' + 'gtk2: gtk output plugin') +source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz") +sha1sums=('a41e9f1cbcc9a24651e14dd15a4cda3d912d7d19') install=install -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i ../yyerror0.patch - patch -p1 -i ../yyerror1.patch - patch -p1 -i ../dotty.patch - sed \ - -e '/LIBPOSTFIX="64"/d' \ - -i configure -} - build() { cd "${srcdir}/${pkgname}-${pkgver}" + export LIBPOSTFIX=/ export PYTHON=python2 export LUA=lua5.1 @@ -55,4 +41,10 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install + + # Workaround symlink upgrade bug (fixed in pacman trunk) + # Also deduplicates the tcl libraries (upstream bug?) + # Might have been this commit: https://github.com/ellson/graphviz/commit/f11aead + rm -r "${pkgdir}/usr/lib/tcl8.6/graphviz" + ln -s ../graphviz/tcl "$pkgdir/usr/lib/tcl8.6/graphviz" } |