summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Hernández2019-06-28 07:39:19 +0200
committerJuanma Hernández2019-06-28 07:39:19 +0200
commitdcd41dfcc7d88a125c1e5e2ba98220a6f33b8e3f (patch)
tree4968ca3c8929904d7438f7a3b8e8edfdcd1c96f6
parent06698eb32569dc3d3e9d526f7432e079c0729c2d (diff)
downloadaur-dcd41dfcc7d88a125c1e5e2ba98220a6f33b8e3f.tar.gz
No need to keep a shell around when launching Zotero
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fc504fd37889..405438d12b89 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = zotero
pkgdesc = Zotero Standalone. Is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
pkgver = 5.0.69
- pkgrel = 1
+ pkgrel = 2
url = http://www.zotero.org/download
install = zotero.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 7641d8d7eeff..243be03da889 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=zotero
pkgver=5.0.69
-pkgrel=1
+pkgrel=2
pkgdesc="Zotero Standalone. Is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources."
arch=('x86_64')
url="http://www.zotero.org/download"
@@ -30,4 +30,6 @@ package() {
install -Dm644 "$pkgdir"/usr/lib/zotero/chrome/icons/default/default256.png "$pkgdir"/usr/share/icons/hicolor/256x256/apps/zotero.png
# Disable APP update
sed -i '/pref("app.update.enabled", true);/c\pref("app.update.enabled", false);' "$pkgdir"/usr/lib/zotero/defaults/preferences/prefs.js
+ # No need to keep a shell around when launching Zotero
+ sed -i -r 's/^("\$CALLDIR\/zotero-bin" -app "\$CALLDIR\/application.ini" "\$@")/exec \1/' "$pkgdir"/usr/lib/zotero/zotero
}