diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index bb4be83..dbc9bae 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -10,34 +10,36 @@ url='https://www.graphviz.org/' license=('EPL') arch=('x86_64') depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts' 'gsfonts' 'libnsl') -makedepends=('swig' 'mono' 'guile' 'lua' 'ocaml' 'perl' 'python2' 'r' 'tk' 'qt5-base' 'gtk2' 'git') +makedepends=('swig' 'mono' 'guile' 'lua' 'ocaml' 'perl' 'python' 'r' 'tk' 'qt5-base' 'gtk2' 'git') optdepends=('mono: sharp bindings' 'guile: guile bindings' 'lua: lua bindings' 'ocaml: ocaml bindings' 'perl: perl bindings' - 'python2: python bindings' + 'python: python bindings' 'r: r bindings' 'tcl: tcl bindings' 'qt5-base: gvedit' 'gtk2: gtk output plugin' 'xterm: vimdot') source=("https://www2.graphviz.org/Packages/stable/portable_source/graphviz-${pkgver}.tar.gz" - 'ghostscript918.patch') + 'ghostscript918.patch' + 'python3.patch') sha256sums=('8faf3fc25317b1d15166205bf64c1b4aed55a8a6959dcabaa64dbad197e47add' - '0083d126e27f2223ec4226fc1d71c9c84106968a0fdf65de838aee1e4882bfdb') + '0083d126e27f2223ec4226fc1d71c9c84106968a0fdf65de838aee1e4882bfdb' + '20dabf8cee101308f81b73b56ef0b3db522e7f798ab640f8d68562cb6b99ddbb') install=install prepare() { cd "${srcdir}/${pkgname}-${pkgver}" patch -p1 -i ../ghostscript918.patch - ./autogen.sh + patch -p1 -i ../python3.patch + ./autogen.sh NOCONFIG } build() { cd "${srcdir}/${pkgname}-${pkgver}" - export PYTHON=python2 export LIBPOSTFIX=/ export CXXFLAGS+=' -fPIC -fpermissive'