Switch pwa connector to use get_libdir
This commit is contained in:
parent
b6f4dfb5da
commit
a40dcf0d62
|
@ -53,8 +53,9 @@ src_prepare() {
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
# Upstream uses cargo-make, but this is not packaged in Gentoo, nor
|
# Upstream uses cargo-make, but this is not packaged in Gentoo, nor
|
||||||
# does it support DESTDIR, so portage sandboxes occur. The makefile
|
# does it support DESTDIR, so portage sandbox violations occur. The
|
||||||
# installation instructions are very simple, so replicate them here.
|
# makefile installation instructions are very simple, so replicate
|
||||||
|
# them here.
|
||||||
|
|
||||||
# Actual binaries
|
# Actual binaries
|
||||||
into /usr
|
into /usr
|
||||||
|
@ -64,10 +65,7 @@ src_install() {
|
||||||
doexe target/release/firefoxpwa-connector
|
doexe target/release/firefoxpwa-connector
|
||||||
|
|
||||||
# Install native messaging host
|
# Install native messaging host
|
||||||
insinto /usr/lib/mozilla/native-messaging-hosts/
|
insinto /usr/$(get_libdir)/mozilla/native-messaging-hosts/
|
||||||
newins manifests/linux.json firefoxpwa.json
|
|
||||||
|
|
||||||
insinto /usr/lib64/mozilla/native-messaging-hosts/
|
|
||||||
newins manifests/linux.json firefoxpwa.json
|
newins manifests/linux.json firefoxpwa.json
|
||||||
|
|
||||||
# Copy the userchrome directory to the correct location
|
# Copy the userchrome directory to the correct location
|
||||||
|
|
Loading…
Reference in New Issue