Date: Monday, February 18, 2013 @ 06:53:17
  Author: bisson
Revision: 178209

install cgraph and graph along...

Modified:
  graphviz/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-02-18 04:18:29 UTC (rev 178208)
+++ PKGBUILD    2013-02-18 05:53:17 UTC (rev 178209)
@@ -34,6 +34,9 @@
 build() {
        cd "${srcdir}/${pkgname}-${pkgver}"
 
+       # we still like the old libgraph.so api
+       sed 's/@WITH_CGRAPH_FALSE@//g' -i lib/graph/Makefile.in
+
        sed \
                -e '/"archdir"/s:$:+" '"$(echo 
-I/usr/include/ruby-1.9.1/{$CARCH-linux,ruby/backward,})"'":' \
                -e '/CONFIG/s:site:vendor:' \
@@ -52,9 +55,6 @@
        cd "${srcdir}/${pkgname}-${pkgver}"
        make DESTDIR="${pkgdir}" install
 
-       # cgraph is the sole new api
-       sed 's/lgraph/lcgraph/g' -i "${pkgdir}"/usr/lib/pkgconfig/libgvc.pc
-
        # http://www.graphviz.org/License.php
        install -Dm644 ../LICENSE 
"${pkgdir}"/usr/share/licenses/graphviz/LICENSE
 }

Reply via email to