blob: 8d3aaad46b40dfad50b238c547188519f3fd7fc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# $Id$
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: kevin <kevin@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=graphviz
pkgver=2.40.1
pkgrel=11
pkgdesc='Graph visualization software'
url='http://www.graphviz.org/'
license=('CPL')
arch=('x86_64')
depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts' 'gsfonts')
makedepends=('swig' 'mono' 'guile' 'lua' 'ocaml' 'perl' 'python2' 'r' 'tk' 'qt4' 'gtk2')
optdepends=('mono: sharp bindings'
'guile: guile bindings'
'lua: lua bindings'
'ocaml: ocaml bindings'
'perl: perl bindings'
'python2: python bindings'
'r: r bindings'
'tcl: tcl bindings'
'qt4: gvedit'
'gtk2: gtk output plugin'
'xterm: vimdot')
# http://www.graphviz.org/Download_source.php
source=("https://graphviz.gitlab.io/pub/graphviz/stable/SOURCES/graphviz.tar.gz"
'ghostscript918.patch')
sha256sums=('ca5218fade0204d59947126c38439f432853543b0818d9d728c589dfe7f3a421'
'0083d126e27f2223ec4226fc1d71c9c84106968a0fdf65de838aee1e4882bfdb')
install=install
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i ../ghostscript918.patch
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export PYTHON=python2
export LIBPOSTFIX=/
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
# Deduplicates TCL libraries
cd "${pkgdir}/usr/lib/tcl8.6"
rm -fr graphviz
ln -s ../graphviz/tcl graphviz
}
|