There may be a slight bug in the install-mendeley-link-handler.sh
script (https://forum.manjaro.org/t/mendeley-aur-and-ld-library-errors/75931).
This should do the job:
diff --git a/PKGBUILD b/PKGBUILD
index 69ac243..80f8510 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -77,7 +77,7 @@ package_mendeleydesktop-bundled() {
conflicts=('mendeleydesktop')
cd "$pkgbase-$pkgver-linux-$CARCH"
- sed -i 's/Exec=/&LD_LIBRARY_PATH=\/opt\/mendeleydesktop\/lib\/mendeleydesktop\/plugins\/platforms /' bin/install-mendeley-link-handler.sh
+ sed -i 's/Exec=/&env LD_LIBRARY_PATH=\/opt\/mendeleydesktop\/lib\/mendeleydesktop\/plugins\/platforms /' bin/install-mendeley-link-handler.sh
install -d "$pkgdir/opt/$pkgbase"
cp -a bin lib share "$pkgdir/opt/$pkgbase/"
It won't replace an existing mendeleydesktop.desktop
file but it will help for new users.
Pinned Comments
ReyJamonico commented on 2022-06-20 07:50 (UTC) (edited on 2022-06-20 07:53 (UTC) by ReyJamonico)
I will maintain this until it stops working, but this package should be considered "legacy" and the new Reference Manager (https://aur.archlinux.org/packages/mendeley-reference-manager) preferred.
More Info: https://blog.mendeley.com/category/new-release-2/
akstrfn commented on 2018-10-02 15:21 (UTC) (edited on 2018-12-14 14:50 (UTC) by akstrfn)
To avoid crashs when opening PDF's, and hangout on exit install
mendeleydesktop-bundled
which packages Qt provided by the upstream.