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

Konstantin Gizdov kgizdov at archlinux.org
Wed Nov 27 15:14:00 UTC 2019


    Date: Wednesday, November 27, 2019 @ 15:13:59
  Author: kgizdov
Revision: 534181

fix pkgconfig correctly

Modified:
  tensorflow/trunk/PKGBUILD

----------+
 PKGBUILD |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-27 15:08:19 UTC (rev 534180)
+++ PKGBUILD	2019-11-27 15:13:59 UTC (rev 534181)
@@ -153,7 +153,7 @@
 
   # install the rest of tensorflow
   tensorflow/c/generate-pc.sh --prefix=/usr --version=${pkgver}
-  sed -e 's/\/include/\/include\/tensorflow/' -i tensorflow.pc
+  sed -e 's@/include$@/include/tensorflow@' -i tensorflow.pc
   install -Dm644 tensorflow.pc "${pkgdir}"/usr/lib/pkgconfig/tensorflow.pc
   install -Dm755 bazel-bin/tensorflow/libtensorflow.so "${pkgdir}"/usr/lib/libtensorflow.so.${pkgver}
   ln -s libtensorflow.so.${pkgver} "${pkgdir}"/usr/lib/libtensorflow.so.${pkgver:0:1}



More information about the arch-commits mailing list