summaryrefslogtreecommitdiff
path: root/extra/graphviz/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/graphviz/PKGBUILD')
-rw-r--r--extra/graphviz/PKGBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/extra/graphviz/PKGBUILD b/extra/graphviz/PKGBUILD
index 5125687bf..d648d2d5b 100644
--- a/extra/graphviz/PKGBUILD
+++ b/extra/graphviz/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 194533 2013-09-17 17:04:18Z bisson $
+# $Id: PKGBUILD 198050 2013-10-30 12:29:51Z allan $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: kevin <kevin@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=graphviz
-pkgver=2.32.0
+pkgver=2.34.0
pkgrel=2
pkgdesc='Graph visualization software'
url='http://www.graphviz.org/'
@@ -26,24 +26,17 @@ if [ "$CARCH" != "mips64el" ]; then
optdepends+=('mono: sharp bindings'
'r: r bindings')
fi
-source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz")
-sha1sums=('a64f4a409012d13d18338ecb8bd7253083ebc35e')
+source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz"
+ 'dotty.patch')
+sha1sums=('5a0c00bebe7f4c7a04523db21f40966dc9f0d441'
+ '31bc9f505c8b6470289a0d6ec31c237765cba239')
-options=('!libtool')
install=install
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../dotty.patch
sed \
- -e 's: qw(\([^)]*\)): (qw(\1)):g' \
- -i config/config_perl.pl
- sed \
- -e '/"archdir"/s:$:+" '"$(echo -I/usr/include/ruby-2.0.0/{$CARCH-linux,ruby/backward,})"'":' \
- -e '/CONFIG/s:site:vendor:' \
- -i config/config_ruby.rb
- sed \
- -e 's:guile-1.8:guile-2.0:g' \
- -e 's:ruby-1.9:ruby-2.0:g' \
-e '/LIBPOSTFIX="64"/d' \
-i configure
}
@@ -53,8 +46,7 @@ build() {
export PYTHON=python2
export LUA=lua5.1
- ./configure --prefix=/usr --with-cgraph=no
- make || sed '/caml_array_length/d' -i tclpkg/gv/gv_ocaml.cpp # swig goes wonky
+ ./configure --prefix=/usr
make
}