Date: Tuesday, February 4, 2014 @ 12:31:05
  Author: heftig
Revision: 205074

Paper over upgrade problems

Modified:
  graphviz/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-02-04 11:27:00 UTC (rev 205073)
+++ PKGBUILD    2014-02-04 11:31:05 UTC (rev 205074)
@@ -5,7 +5,7 @@
 
 pkgname=graphviz
 pkgver=2.36.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Graph visualization software'
 url='http://www.graphviz.org/'
 license=('CPL')
@@ -41,4 +41,10 @@
 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"
 }

Reply via email to