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

Gaetan Bisson bisson at archlinux.org
Fri Feb 17 03:32:37 UTC 2012


    Date: Thursday, February 16, 2012 @ 22:32:37
  Author: bisson
Revision: 150340

move ruby blob around

Modified:
  graphviz/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-17 02:43:14 UTC (rev 150339)
+++ PKGBUILD	2012-02-17 03:32:37 UTC (rev 150340)
@@ -5,7 +5,7 @@
 
 pkgname=graphviz
 pkgver=2.28.0
-pkgrel=7
+pkgrel=8
 pkgdesc='Graph visualization software'
 url='http://www.graphviz.org/'
 license=('custom:EPL')
@@ -34,8 +34,12 @@
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
 
-	sed -i "/RUBY_INCLUDES=\"/s|\"$| `eval echo -I/usr/include/ruby-1.9.1/{$CARCH-linux,ruby/backward,}`\"|" configure
-	sed -i '/LIBPOSTFIX="64"/d' configure
+	sed \
+		-e '/"archdir"/s:$:+" '"$(echo -I/usr/include/ruby-1.9.1/{$CARCH-linux,ruby/backward,})"'":' \
+		-e '/CONFIG/s:site:vendor:' \
+		-i config/config_ruby.rb
+
+	sed '/LIBPOSTFIX="64"/d' -i configure
 	export PYTHON=python2
 
 	./configure --prefix=/usr




More information about the arch-commits mailing list