[arch-commits] Commit in graphviz/trunk (PKGBUILD)

Gaetan Bisson bisson at nymeria.archlinux.org
Sun Mar 3 08:22:02 UTC 2013


    Date: Sunday, March 3, 2013 @ 09:22:02
  Author: bisson
Revision: 179085

rebuild for ruby-2.0.0

Modified:
  graphviz/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-03 07:52:18 UTC (rev 179084)
+++ PKGBUILD	2013-03-03 08:22:02 UTC (rev 179085)
@@ -5,7 +5,7 @@
 
 pkgname=graphviz
 pkgver=2.30.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Graph visualization software'
 url='http://www.graphviz.org/'
 license=('custom:EPL')
@@ -35,11 +35,14 @@
 	cd "${srcdir}/${pkgname}-${pkgver}"
 
 	sed \
-		-e '/"archdir"/s:$:+" '"$(echo -I/usr/include/ruby-1.9.1/{$CARCH-linux,ruby/backward,})"'":' \
+		-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:ruby-1.9:ruby-2.0:g' \
+		-e '/LIBPOSTFIX="64"/d' \
+		-i configure
 
-	sed '/LIBPOSTFIX="64"/d' -i configure
 	source /etc/profile.d/qt4.sh
 	export PYTHON=python2
 	export LUA=lua5.1




More information about the arch-commits mailing list