summaryrefslogtreecommitdiffstats
path: root/abs/extra/graphviz/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/graphviz/PKGBUILD')
-rw-r--r--abs/extra/graphviz/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/abs/extra/graphviz/PKGBUILD b/abs/extra/graphviz/PKGBUILD
new file mode 100644
index 0000000..f3de8b6
--- /dev/null
+++ b/abs/extra/graphviz/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 94713 2010-10-10 10:06:04Z andyrtr $
+# Maintainer: kevin <kevin@archlinux.org>
+# Contributor: John Proctor <jproctor@prium.net>
+
+pkgname=graphviz
+pkgver=2.26.3
+pkgrel=2
+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>=9.00')
+url="http://www.graphviz.org/"
+options=('!libtool')
+source=(${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz)
+install=graphviz.install
+md5sums=('6f45946fa622770c45609778c0a982ee')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --without-gnomeui --docdir=/usr/share/doc/gvkp \
+ --disable-tcl --disable-sharp --disable-ruby --disable-python \
+ --disable-lua --disable-guile --disable-perl || return 1
+
+#--bindir=/bindir --libdir=/libdir --includedir=/includedir --mandir=/mandir \
+#--infodir=/infodir \
+#--docdir=/docdir --htmldir=/htmldir --dvidir=/dvidir \
+#--pdfdir=/pdfdir --psdir=/psdir
+
+ make || return 1
+}
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install || return 1
+
+ #Fix a wrong file location for x86_64
+ rm -rf ${pkgdir}/usr/lib64
+
+ # Fix non-fhs doc files.
+ cd ${pkgdir}/usr/share
+ mkdir doc
+ mv graphviz/doc doc/graphviz
+}