polkit: move gir-1.0 directory where it belongs
For some reason the gir-1.0 directory is installed into a subdirectory ${DESTDIR}/usr/${XBPS_CROSS_BASE}/usr/share/gir-1.0 while it is expected to be at ${DESTDIR}/usr/share/gir-1.0; move it there until someone has a better fix.
This commit is contained in:
parent
b59f604d23
commit
2aa750566a
1 changed files with 6 additions and 1 deletions
|
@ -12,7 +12,7 @@ make_dirs="
|
||||||
/usr/share/polkit-1/rules.d 0700 polkitd polkitd"
|
/usr/share/polkit-1/rules.d 0700 polkitd polkitd"
|
||||||
hostmakedepends="autoconf-archive automake gettext-devel git glib-devel
|
hostmakedepends="autoconf-archive automake gettext-devel git glib-devel
|
||||||
gobject-introspection gtk-doc intltool libtool pkg-config"
|
gobject-introspection gtk-doc intltool libtool pkg-config"
|
||||||
makedepends="gobject-introspection mozjs52-devel pam-devel"
|
makedepends="mozjs52-devel pam-devel"
|
||||||
short_desc="Authorization Toolkit"
|
short_desc="Authorization Toolkit"
|
||||||
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
|
@ -39,6 +39,11 @@ post_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
# Move gir-1.0 files erroneously installed in
|
||||||
|
# a ${XBPS_CROSS_TRIPLET}/ prefixed subdir
|
||||||
|
mv -v ${DESTDIR}/usr/{${XBPS_CROSS_TRIPLET}/usr,}/share/gir-1.0
|
||||||
|
fi
|
||||||
vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
|
vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
|
||||||
vsv polkitd
|
vsv polkitd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue