Date: Sunday, September 29, 2013 @ 06:15:46
  Author: bisson
Revision: 195246

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  graphviz/repos/staging-i686/
  graphviz/repos/staging-i686/PKGBUILD
    (from rev 195245, graphviz/trunk/PKGBUILD)
  graphviz/repos/staging-i686/install
    (from rev 195245, graphviz/trunk/install)
  graphviz/repos/staging-x86_64/
  graphviz/repos/staging-x86_64/PKGBUILD
    (from rev 195245, graphviz/trunk/PKGBUILD)
  graphviz/repos/staging-x86_64/install
    (from rev 195245, graphviz/trunk/install)

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

Copied: graphviz/repos/staging-i686/PKGBUILD (from rev 195245, 
graphviz/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2013-09-29 04:15:46 UTC (rev 195246)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: kevin <[email protected]>
+# Contributor: John Proctor <[email protected]>
+
+pkgname=graphviz
+pkgver=2.34.0
+pkgrel=1
+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')
+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')
+source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('5a0c00bebe7f4c7a04523db21f40966dc9f0d441')
+
+options=('!libtool')
+install=install
+
+prepare() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       sed \
+               -e '/LIBPOSTFIX="64"/d' \
+               -i configure
+}
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       export PYTHON=python2
+       export LUA=lua5.1
+
+       ./configure --prefix=/usr
+       make
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make DESTDIR="${pkgdir}" install
+}

Copied: graphviz/repos/staging-i686/install (from rev 195245, 
graphviz/trunk/install)
===================================================================
--- staging-i686/install                                (rev 0)
+++ staging-i686/install        2013-09-29 04:15:46 UTC (rev 195246)
@@ -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/staging-x86_64/PKGBUILD (from rev 195245, 
graphviz/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2013-09-29 04:15:46 UTC (rev 195246)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: kevin <[email protected]>
+# Contributor: John Proctor <[email protected]>
+
+pkgname=graphviz
+pkgver=2.34.0
+pkgrel=1
+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')
+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')
+source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('5a0c00bebe7f4c7a04523db21f40966dc9f0d441')
+
+options=('!libtool')
+install=install
+
+prepare() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       sed \
+               -e '/LIBPOSTFIX="64"/d' \
+               -i configure
+}
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       export PYTHON=python2
+       export LUA=lua5.1
+
+       ./configure --prefix=/usr
+       make
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make DESTDIR="${pkgdir}" install
+}

Copied: graphviz/repos/staging-x86_64/install (from rev 195245, 
graphviz/trunk/install)
===================================================================
--- staging-x86_64/install                              (rev 0)
+++ staging-x86_64/install      2013-09-29 04:15:46 UTC (rev 195246)
@@ -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}
+}

Reply via email to