#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=graphviz
pkgver=2.50.0
pkgrel=1gv
source=("https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/$pkgver/graphviz-$pkgver.tar.xz")
docs=("readme" "install" "copying" "changelog.md" "authors" "news" "todo")
url=https://www.graphviz.org

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"graphviz (Graph visualization software)"
"Graphviz is open source graph visualization software.  It has several"
"main graph layout programs.  It also has web and interactive graphical"
"interfaces, and auxiliary tools, libraries, and language bindings."
""
"Graph visualization is a way of representing structural information as"
"diagrams of abstract graphs and networks.  Automatic graph drawing has"
"many important applications in software engineering, database and web"
"design, networking, and in visual interfaces for many other domains."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--disable-static \
		--build=$arch-slackware-linux
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
} 
