diff options
author | dr460nf1r3 | 2021-12-31 18:20:11 +0100 |
---|---|---|
committer | dr460nf1r3 | 2021-12-31 18:20:11 +0100 |
commit | bf2a6ec830d393ce4e8fc18e048cbc550f267b14 (patch) | |
tree | b1c29e5b8f121b6722ad1a74462911f7eec5af46 | |
parent | e0bf336eceb1b27c9268165c18228e38bed50291 (diff) | |
download | aur-bf2a6ec830d393ce4e8fc18e048cbc550f267b14.tar.gz |
Add symlink for native messaging as outlined by Librewolf FAQ
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | librewolf-extension-plasma-integration.install | 4 |
3 files changed, 12 insertions, 2 deletions
@@ -1,8 +1,9 @@ pkgbase = librewolf-extension-plasma-integration pkgdesc = Plasma browser integration addon for Librewolf pkgver = 1.8.1 - pkgrel = 1 + pkgrel = 2 url = https://addons.mozilla.org/en-US/firefox/addon/plasma-integration/ + install = librewolf-extension-plasma-integration.install arch = any groups = librewolf-addons license = GPLV3 @@ -1,6 +1,6 @@ pkgname=librewolf-extension-plasma-integration pkgver=1.8.1 -pkgrel=1 +pkgrel=2 pkgdesc='Plasma browser integration addon for Librewolf' arch=('any') url='https://addons.mozilla.org/en-US/firefox/addon/plasma-integration/' @@ -9,7 +9,12 @@ depends=('plasma-browser-integration') groups=('librewolf-addons') source=("extension.xpi::https://addons.mozilla.org/firefox/downloads/file/3859385/plasma_integration-${pkgver}-fx.xpi") sha512sums=('47bb922787bed93fc8317a5cab99a4ac487bb7b7a95c98ee6ee59511c29f811082e224a992e0147f76bb3271e055b3651535c7da448b684fada1bd1444407fc0') +install=$pkgname.install package() { install -Dm644 extension.xpi "${pkgdir}/usr/lib/librewolf/browser/extensions/plasma-browser-integration@kde.org.xpi" + + # https://librewolf.net/docs/faq/#how-do-i-get-native-messaging-to-work + ln -s /usr/lib/mozilla/native-messaging-hosts "${pkgdir}/usr/lib/librewolf/native-messaging-hosts" } + diff --git a/librewolf-extension-plasma-integration.install b/librewolf-extension-plasma-integration.install new file mode 100644 index 000000000000..aa7e20d16e76 --- /dev/null +++ b/librewolf-extension-plasma-integration.install @@ -0,0 +1,4 @@ +post_install() { + echo "To get native messaging to work, create the following symlink:" + echo "ln -s ~/.mozilla/native-messaging-hosts ~/.librewolf/native-messaging-hosts" +} |