From 2562b1d97bc2ed12b0bdfde3b31e96d9f69b4802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 28 Apr 2019 15:12:02 +0200 Subject: [PATCH] polkit-elogind: add build helper gir --- srcpkgs/polkit-elogind/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/polkit-elogind/template b/srcpkgs/polkit-elogind/template index 6ce525d4696..2587ca0cbca 100644 --- a/srcpkgs/polkit-elogind/template +++ b/srcpkgs/polkit-elogind/template @@ -4,6 +4,7 @@ version=0.115 revision=4 wrksrc="polkit-${version}" build_style=gnu-configure +build_helper="gir" configure_args="$(vopt_enable gir introspection) --disable-static --with-authfw=pam --with-os-type=void --with-mozjs=mozjs-52.0" make_dirs=" @@ -45,7 +46,7 @@ post_install() { rm -r $DESTDIR/usr/include rm -r $DESTDIR/usr/lib/pkgconfig if [ "$build_option_gir" ]; then - rm -r $DESTDIR/usr/share/gir-* + rm -rf $DESTDIR/usr/share/gir-* fi rm -r $DESTDIR/usr/lib/*.so }