mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
59 lines
1.6 KiB
Bash
59 lines
1.6 KiB
Bash
# $Id$
|
|
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
|
|
# Contributor: kevin <kevin@archlinux.org>
|
|
# Contributor: John Proctor <jproctor@prium.net>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - drop mono make/opt depends
|
|
|
|
pkgname=graphviz
|
|
pkgver=2.40.1
|
|
pkgrel=7
|
|
pkgdesc='Graph visualization software'
|
|
url='http://www.graphviz.org/'
|
|
license=('CPL')
|
|
arch=('i686' 'x86_64')
|
|
depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts' 'gsfonts')
|
|
makedepends=('swig' 'guile' 'lua' 'ocaml' 'perl' 'python2' 'r' 'tk' 'qt4' 'gtk2')
|
|
optdepends=('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=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.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
|
|
}
|