From 6b5027aac2d2b2e400b6b2d10d5ab3be6f3ddda4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 24 Jan 2014 00:14:02 +0100 Subject: [PATCH] libgudev: fix installation with gir option disabled (v2). --- srcpkgs/libgudev/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libgudev/template b/srcpkgs/libgudev/template index 86f8e271e70..3cee69ced6a 100644 --- a/srcpkgs/libgudev/template +++ b/srcpkgs/libgudev/template @@ -29,7 +29,9 @@ do_install() { fi mv install_gudev/usr/include/gudev* ${DESTDIR}/usr/include mv install_gudev/usr/lib/pkgconfig/gudev* ${DESTDIR}/usr/lib/pkgconfig - mv install_gudev/usr/share/gir-1.0 ${DESTDIR}/usr/share + if [ -d install_gudev/usr/share/gir-1.0 ]; then + mv install_gudev/usr/share/gir-1.0 ${DESTDIR}/usr/share + fi mv install_gudev/usr/lib/python* ${DESTDIR}/usr/lib }