diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-17 10:52:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-17 10:52:16 +0000 |
commit | dd266db9177bbe702551e85e5627bed6c6253595 (patch) | |
tree | 59ab9cfb88a7f6347cf8a2cc58e04fb47929507e /main/graphviz | |
parent | 9b9c6b450ba32771e6c7f95ccfe70e6b0e146f9a (diff) | |
download | aports-dd266db9177bbe702551e85e5627bed6c6253595.tar.bz2 aports-dd266db9177bbe702551e85e5627bed6c6253595.tar.xz |
main/graphviz: add trigger for layout engine config
This fixes the error message:
There is no layout engine support for "dot"
Diffstat (limited to 'main/graphviz')
-rw-r--r-- | main/graphviz/APKBUILD | 9 | ||||
-rw-r--r-- | main/graphviz/graphviz.pre-deinstall | 5 | ||||
-rw-r--r-- | main/graphviz/graphviz.trigger | 3 |
3 files changed, 15 insertions, 2 deletions
diff --git a/main/graphviz/APKBUILD b/main/graphviz/APKBUILD index 2909cb8004..84de5b6d50 100644 --- a/main/graphviz/APKBUILD +++ b/main/graphviz/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=graphviz pkgver=2.38.0 -pkgrel=1 +pkgrel=2 pkgdesc="Graph Visualization Tools" url="http://www.graphviz.org/" arch="all" @@ -12,10 +12,12 @@ depends_dev="zlib-dev libpng-dev libjpeg-turbo-dev expat-dev freetype-dev bison m4 flex fontconfig-dev libtool libsm-dev libxext-dev cairo-dev pango-dev librsvg-dev gmp-dev lua5.2-dev gtk+2.0-dev swig python-dev" makedepends="$depends_dev" -install="" +install="$pkgname.pre-deinstall" +triggers="$pkgname.trigger=/usr/lib/graphviz" subpackages="$pkgname-dev $pkgname-doc py-$pkgname:py lua-$pkgname:_lua $pkgname-gtk $pkgname-graphs" source="http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-$pkgver.tar.gz + $pkgname.trigger 0001-clone-nameclash.patch musl-posix-grep.patch " @@ -109,11 +111,14 @@ graphs() { "$subpkgdir"/usr/share/graphviz/ } md5sums="5b6a829b2ac94efcd5fa3c223ed6d3ae graphviz-2.38.0.tar.gz +6e30f6cb07c20d92fe280586c56104eb graphviz.trigger bce8a9ae4c3a8c52c1bcf0e03d5ce364 0001-clone-nameclash.patch f2e8e751d8b26dd659b51940f7210b8a musl-posix-grep.patch" sha256sums="81aa238d9d4a010afa73a9d2a704fc3221c731e1e06577c2ab3496bdef67859e graphviz-2.38.0.tar.gz +990a108305f0188102b15bf946fee7aff27a9e449eae480192d8d2f933bb9802 graphviz.trigger 2b6c8186bf2799658494428d68597f63b91799f37809cbe59d8adcab60c27363 0001-clone-nameclash.patch c9629e3e5502450ff000af173d568147aee5d8e884d7d8d8754cb7dd94e90ba6 musl-posix-grep.patch" sha512sums="0e51a97dae595f4e80bc9e4a12ba3c48485fab19941a28d522f5a0624b6a767e0ba720e9e55bff8efe8308dd1cd3793e2c99cb5fdfceb2d5cafb0cbee907e531 graphviz-2.38.0.tar.gz +50947e6a11929f724759266f7716d52d10923eba6d59704ab39e4bdf18f8471d548c2b11ab051dd4b67cb82742aaf54d6358890d049d5b5982f3383b65f7ae8c graphviz.trigger aa4cbc341906a949a6bf78cadd96c437d6bcc90369941fe03519aa4447731ecbf6063a0dd0366d3e7aaadf22b69e4bcab3f8632a7da7a01f8e08a3be05c2bc5d 0001-clone-nameclash.patch 365ecb684b26c382f62b2c8bc075169eafd46478d21a49ecc433fcbf7b720027567438a01659fada7714433c1eced7f5662913179e6d59437fc5daba0d66b0cc musl-posix-grep.patch" diff --git a/main/graphviz/graphviz.pre-deinstall b/main/graphviz/graphviz.pre-deinstall new file mode 100644 index 0000000000..cfc43bf6ae --- /dev/null +++ b/main/graphviz/graphviz.pre-deinstall @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ -e /usr/lib/graphviz/config6 ]; then + rm /usr/lib/graphviz/config6 +fi diff --git a/main/graphviz/graphviz.trigger b/main/graphviz/graphviz.trigger new file mode 100644 index 0000000000..99d447b9bb --- /dev/null +++ b/main/graphviz/graphviz.trigger @@ -0,0 +1,3 @@ +#!/bin/sh + +exec /usr/bin/dot -c |