graphviz: fix install scripts

This commit is contained in:
Christoph Reiter
2021-03-27 19:50:38 +01:00
parent 4d2d0702b2
commit 0706dd2be1
4 changed files with 17 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ _realname=graphviz
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=2.44.1
pkgrel=4
pkgrel=5
pkgdesc="Graph Visualization Software (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64')
@@ -41,7 +41,7 @@ makedepends=(#"${MINGW_PACKAGE_PREFIX}-ocaml" not tested yet need to build ocaml
"${MINGW_PACKAGE_PREFIX}-zlib"
"git")
options=('strip')
install=${_realname}-${CARCH}.install
install=${_realname}-${MSYSTEM}.install
source=(#${_realname}-${pkgver}::git+https://gitlab.com/graphviz/graphviz.git#tag=stable_release_${pkgver}
https://www2.graphviz.org/Packages/stable/portable_source/graphviz-${pkgver}.tar.gz
001-msvc-pragma.patch.patch

View File

@@ -1,5 +1,7 @@
MINGW_INSTALL=mingw32
post_install() {
mingw64/bin/dot -c
${MINGW_INSTALL}/bin/dot -c
}
post_upgrade() {

View File

@@ -0,0 +1,9 @@
MINGW_INSTALL=mingw64
post_install() {
${MINGW_INSTALL}/bin/dot -c
}
post_upgrade() {
post_install
}

View File

@@ -1,5 +1,7 @@
MINGW_INSTALL=ucrt64
post_install() {
mingw32/bin/dot -c
${MINGW_INSTALL}/bin/dot -c
}
post_upgrade() {