[arch-commits] Commit in graphviz/repos (6 files)
Gaetan Bisson
bisson at nymeria.archlinux.org
Fri Sep 13 04:26:54 UTC 2013
Date: Friday, September 13, 2013 @ 06:26:54
Author: bisson
Revision: 194282
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
graphviz/repos/testing-i686/
graphviz/repos/testing-i686/PKGBUILD
(from rev 194281, graphviz/trunk/PKGBUILD)
graphviz/repos/testing-i686/install
(from rev 194281, graphviz/trunk/install)
graphviz/repos/testing-x86_64/
graphviz/repos/testing-x86_64/PKGBUILD
(from rev 194281, graphviz/trunk/PKGBUILD)
graphviz/repos/testing-x86_64/install
(from rev 194281, graphviz/trunk/install)
-------------------------+
testing-i686/PKGBUILD | 61 ++++++++++++++++++++++++++++++++++++++++++++++
testing-i686/install | 12 +++++++++
testing-x86_64/PKGBUILD | 61 ++++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/install | 12 +++++++++
4 files changed, 146 insertions(+)
Copied: graphviz/repos/testing-i686/PKGBUILD (from rev 194281, graphviz/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-09-13 04:26:54 UTC (rev 194282)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=graphviz
+pkgver=2.32.0
+pkgrel=2
+pkgdesc='Graph visualization software'
+url='http://www.graphviz.org/'
+license=('CPL')
+arch=('i686' 'x86_64')
+depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts')
+makedepends=('swig' 'mono' 'guile' 'lua51' 'ocaml' 'perl' 'php' 'python2' 'r' 'ruby' 'tk' 'qt4')
+optdepends=('mono: sharp bindings'
+ 'guile: guile bindings'
+ 'lua51: lua bindings'
+ 'ocaml: ocaml bindings'
+ 'perl: perl bindings'
+ 'php: php bindings'
+ 'python2: python bindings'
+ 'r: r bindings'
+ 'ruby: ruby bindings'
+ 'tcl: tcl bindings'
+ 'qt4: gvedit')
+source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('a64f4a409012d13d18338ecb8bd7253083ebc35e')
+
+options=('!libtool')
+install=install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed \
+ -e 's: qw(\([^)]*\)): (qw(\1)):g' \
+ -i config/config_perl.pl
+ sed \
+ -e '/"archdir"/s:$:+" '"$(echo -I/usr/include/ruby-2.0.0/{$CARCH-linux,ruby/backward,})"'":' \
+ -e '/CONFIG/s:site:vendor:' \
+ -i config/config_ruby.rb
+ sed \
+ -e 's:guile-1.8:guile-2.0:g' \
+ -e 's:ruby-1.9:ruby-2.0:g' \
+ -e '/LIBPOSTFIX="64"/d' \
+ -i configure
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export PYTHON=python2
+ export LUA=lua5.1
+
+ ./configure --prefix=/usr --with-cgraph=no
+ make || sed '/caml_array_length/d' -i tclpkg/gv/gv_ocaml.cpp # swig goes wonky
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: graphviz/repos/testing-i686/install (from rev 194281, graphviz/trunk/install)
===================================================================
--- testing-i686/install (rev 0)
+++ testing-i686/install 2013-09-13 04:26:54 UTC (rev 194282)
@@ -0,0 +1,12 @@
+post_install() {
+ rm -f usr/lib/graphviz/config{,6}
+ usr/bin/dot -c
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ rm -f usr/lib/graphviz/config{,6}
+}
Copied: graphviz/repos/testing-x86_64/PKGBUILD (from rev 194281, graphviz/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-09-13 04:26:54 UTC (rev 194282)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=graphviz
+pkgver=2.32.0
+pkgrel=2
+pkgdesc='Graph visualization software'
+url='http://www.graphviz.org/'
+license=('CPL')
+arch=('i686' 'x86_64')
+depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts')
+makedepends=('swig' 'mono' 'guile' 'lua51' 'ocaml' 'perl' 'php' 'python2' 'r' 'ruby' 'tk' 'qt4')
+optdepends=('mono: sharp bindings'
+ 'guile: guile bindings'
+ 'lua51: lua bindings'
+ 'ocaml: ocaml bindings'
+ 'perl: perl bindings'
+ 'php: php bindings'
+ 'python2: python bindings'
+ 'r: r bindings'
+ 'ruby: ruby bindings'
+ 'tcl: tcl bindings'
+ 'qt4: gvedit')
+source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('a64f4a409012d13d18338ecb8bd7253083ebc35e')
+
+options=('!libtool')
+install=install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed \
+ -e 's: qw(\([^)]*\)): (qw(\1)):g' \
+ -i config/config_perl.pl
+ sed \
+ -e '/"archdir"/s:$:+" '"$(echo -I/usr/include/ruby-2.0.0/{$CARCH-linux,ruby/backward,})"'":' \
+ -e '/CONFIG/s:site:vendor:' \
+ -i config/config_ruby.rb
+ sed \
+ -e 's:guile-1.8:guile-2.0:g' \
+ -e 's:ruby-1.9:ruby-2.0:g' \
+ -e '/LIBPOSTFIX="64"/d' \
+ -i configure
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export PYTHON=python2
+ export LUA=lua5.1
+
+ ./configure --prefix=/usr --with-cgraph=no
+ make || sed '/caml_array_length/d' -i tclpkg/gv/gv_ocaml.cpp # swig goes wonky
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: graphviz/repos/testing-x86_64/install (from rev 194281, graphviz/trunk/install)
===================================================================
--- testing-x86_64/install (rev 0)
+++ testing-x86_64/install 2013-09-13 04:26:54 UTC (rev 194282)
@@ -0,0 +1,12 @@
+post_install() {
+ rm -f usr/lib/graphviz/config{,6}
+ usr/bin/dot -c
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ rm -f usr/lib/graphviz/config{,6}
+}
More information about the arch-commits
mailing list