[arch-commits] Commit in graphviz/repos (8 files)

Florian Pritz bluewind at nymeria.archlinux.org
Sun Jun 1 11:09:07 UTC 2014


    Date: Sunday, June 1, 2014 @ 13:09:07
  Author: bluewind
Revision: 213962

db-move: moved graphviz from [staging] to [testing] (i686, x86_64)

Added:
  graphviz/repos/testing-i686/
  graphviz/repos/testing-i686/PKGBUILD
    (from rev 213950, graphviz/repos/staging-i686/PKGBUILD)
  graphviz/repos/testing-i686/install
    (from rev 213950, graphviz/repos/staging-i686/install)
  graphviz/repos/testing-x86_64/
  graphviz/repos/testing-x86_64/PKGBUILD
    (from rev 213950, graphviz/repos/staging-x86_64/PKGBUILD)
  graphviz/repos/testing-x86_64/install
    (from rev 213950, graphviz/repos/staging-x86_64/install)
Deleted:
  graphviz/repos/staging-i686/
  graphviz/repos/staging-x86_64/

-------------------------+
 testing-i686/PKGBUILD   |   50 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-i686/install    |   12 +++++++++++
 testing-x86_64/PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/install  |   12 +++++++++++
 4 files changed, 124 insertions(+)

Copied: graphviz/repos/testing-i686/PKGBUILD (from rev 213950, graphviz/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-06-01 11:09:07 UTC (rev 213962)
@@ -0,0 +1,50 @@
+# $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.36.0
+pkgrel=3
+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' 'tk' 'qt4' 'gtk2')
+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'
+            'tcl: tcl bindings'
+            'qt4: gvedit'
+            'gtk2: gtk output plugin')
+source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('a41e9f1cbcc9a24651e14dd15a4cda3d912d7d19')
+
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	export LIBPOSTFIX=/
+	export PYTHON=python2
+	export LUA=lua5.1
+
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+
+	# Workaround symlink upgrade bug (fixed in pacman trunk)
+	# Also deduplicates the tcl libraries (upstream bug?)
+	# Might have been this commit: https://github.com/ellson/graphviz/commit/f11aead
+	rm -r "${pkgdir}/usr/lib/tcl8.6/graphviz"
+	ln -s ../graphviz/tcl "$pkgdir/usr/lib/tcl8.6/graphviz"
+}

Copied: graphviz/repos/testing-i686/install (from rev 213950, graphviz/repos/staging-i686/install)
===================================================================
--- testing-i686/install	                        (rev 0)
+++ testing-i686/install	2014-06-01 11:09:07 UTC (rev 213962)
@@ -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 213950, graphviz/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-06-01 11:09:07 UTC (rev 213962)
@@ -0,0 +1,50 @@
+# $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.36.0
+pkgrel=3
+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' 'tk' 'qt4' 'gtk2')
+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'
+            'tcl: tcl bindings'
+            'qt4: gvedit'
+            'gtk2: gtk output plugin')
+source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('a41e9f1cbcc9a24651e14dd15a4cda3d912d7d19')
+
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	export LIBPOSTFIX=/
+	export PYTHON=python2
+	export LUA=lua5.1
+
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+
+	# Workaround symlink upgrade bug (fixed in pacman trunk)
+	# Also deduplicates the tcl libraries (upstream bug?)
+	# Might have been this commit: https://github.com/ellson/graphviz/commit/f11aead
+	rm -r "${pkgdir}/usr/lib/tcl8.6/graphviz"
+	ln -s ../graphviz/tcl "$pkgdir/usr/lib/tcl8.6/graphviz"
+}

Copied: graphviz/repos/testing-x86_64/install (from rev 213950, graphviz/repos/staging-x86_64/install)
===================================================================
--- testing-x86_64/install	                        (rev 0)
+++ testing-x86_64/install	2014-06-01 11:09:07 UTC (rev 213962)
@@ -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