From a40dcf0d62b5e9213436cfa9db6a25599de50989 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Thu, 16 Mar 2023 22:31:37 +0100 Subject: [PATCH] Switch pwa connector to use get_libdir --- .../firefox-pwa-connector-2.4.1.ebuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/www-plugins/firefox-pwa-connector/firefox-pwa-connector-2.4.1.ebuild b/www-plugins/firefox-pwa-connector/firefox-pwa-connector-2.4.1.ebuild index 2954a97..4b2e631 100644 --- a/www-plugins/firefox-pwa-connector/firefox-pwa-connector-2.4.1.ebuild +++ b/www-plugins/firefox-pwa-connector/firefox-pwa-connector-2.4.1.ebuild @@ -53,8 +53,9 @@ src_prepare() { src_install() { # Upstream uses cargo-make, but this is not packaged in Gentoo, nor - # does it support DESTDIR, so portage sandboxes occur. The makefile - # installation instructions are very simple, so replicate them here. + # does it support DESTDIR, so portage sandbox violations occur. The + # makefile installation instructions are very simple, so replicate + # them here. # Actual binaries into /usr @@ -64,10 +65,7 @@ src_install() { doexe target/release/firefoxpwa-connector # Install native messaging host - insinto /usr/lib/mozilla/native-messaging-hosts/ - newins manifests/linux.json firefoxpwa.json - - insinto /usr/lib64/mozilla/native-messaging-hosts/ + insinto /usr/$(get_libdir)/mozilla/native-messaging-hosts/ newins manifests/linux.json firefoxpwa.json # Copy the userchrome directory to the correct location