PKGBUILDs/extra/graphviz/PKGBUILD
2009-10-09 21:23:22 -05:00

27 lines
893 B
Bash

# $Id: PKGBUILD 49941 2009-08-17 03:37:53Z kevin $
# Maintainer: kevin <kevin@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=graphviz
pkgver=2.24.0
pkgrel=1
pkgdesc="Creates acircular graph images"
arch=('i686' 'x86_64')
license=('CPL')
depends=('gd>=2.0.35' 'librsvg>=2.22.3' 'libxaw>=1.0.5' 'ghostscript')
url="http://www.graphviz.org/"
options=('!libtool')
source=(${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz)
install=graphviz.install
md5sums=('806a30dbc3f8deb219216f35be0e7a40')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --without-gnomeui \
--disable-tcl --disable-sharp --disable-ruby --disable-python \
--disable-lua --disable-guile --disable-perl || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
#Fix a wrong file location for x86_64
rm -rf ${pkgdir}/usr/lib64
}