polkit-elogind: add build helper gir

This commit is contained in:
Jürgen Buchmüller 2019-04-28 15:12:02 +02:00
parent f7107d38eb
commit 2562b1d97b
1 changed files with 2 additions and 1 deletions

View File

@ -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
}