Update zotero to 5.0.96.2

This commit is contained in:
2021-07-01 09:14:40 +02:00
parent bc05d95d8a
commit 0cce2a42df
2 changed files with 75 additions and 0 deletions

View File

@ -1,4 +1,6 @@
DIST zotero-5.0.89.tar.bz2 60183940 BLAKE2B fc871095b59bd0114c431075035381c9f904d010d2af5c2d8d531ee27317eb4f1c820934dcba70d5ca15449f95605c20334aa553fe72a72b15ff28d5ba0be947 SHA512 61245af3095396cd338e90f325aa5f32087f074c3d03c23b5de05fb1b265afab6320a8b9f33c40f6c3b91123669cb8e73b0e9e107ab66df0b5ac96eda2294bf8
DIST zotero-5.0.96.2.tar.bz2 60475436 BLAKE2B 2c113fbbb78f0e4ca4e12ed31ed43ba6e65eea88039f9fda1d1f97e6407b95e9ac1d89b2504f220ce96634f5404defcdb5f5346dec83d5d9f02832e1573f1a60 SHA512 4fc988bf74179ad5f28a4649cfc6c6c5d4eeabc3b7aa60e717681bc57dd1c3ba6f2d3310fb83e6e2e55475aa9d7077329acc3dff52b63a0759c32f542ef0ef47
DIST zotero-5.0.96.tar.bz2 60474165 BLAKE2B 5330ea95360cd20cbcf9366481bf715ca0b50fe6919814bba6192cd71b6c94724bd3edb2b6cde3b894b06d2f232f867b6b52426e6ab57668150c23d487c53655 SHA512 aa755b280ac9f03031d70105ada7be9ba9da17f858bffc33e8b7598e85b53b2915854b57c78c2644d181c1368aa3fdcb87f08e6bd2a0f40592acfa7faccbb124
EBUILD zotero-5.0.89.ebuild 2378 BLAKE2B 635bf8d33d0e8aa81ec6aa6b9f3941a6963f1187feccc549d89dad6a5d9d5db6782869abbfe3d19a86030feadffe079ee04f1f409156d53073d679e18ecd5f1a SHA512 2d0a61642c87b02658804f69d17e1859c110d8dd662f8979165b03121c1ba6f97dfccfa1992950470d5076c2abf617834eb442116c2b758c8754705854e19380
EBUILD zotero-5.0.96.2.ebuild 2378 BLAKE2B 635bf8d33d0e8aa81ec6aa6b9f3941a6963f1187feccc549d89dad6a5d9d5db6782869abbfe3d19a86030feadffe079ee04f1f409156d53073d679e18ecd5f1a SHA512 2d0a61642c87b02658804f69d17e1859c110d8dd662f8979165b03121c1ba6f97dfccfa1992950470d5076c2abf617834eb442116c2b758c8754705854e19380
EBUILD zotero-5.0.96.ebuild 2378 BLAKE2B 635bf8d33d0e8aa81ec6aa6b9f3941a6963f1187feccc549d89dad6a5d9d5db6782869abbfe3d19a86030feadffe079ee04f1f409156d53073d679e18ecd5f1a SHA512 2d0a61642c87b02658804f69d17e1859c110d8dd662f8979165b03121c1ba6f97dfccfa1992950470d5076c2abf617834eb442116c2b758c8754705854e19380

View File

@ -0,0 +1,73 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Zotero"
HOMEPAGE="https://www.zotero.org"
SRC_URI="https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=${PV} -> ${P}.tar.bz2"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
QA_PREBUILT="opt/Zotero/Zotero_linux-x86_64/libxul.so
opt/Zotero/Zotero_linux-x86_64/libsoftokn3.so
opt/Zotero/Zotero_linux-x86_64/libnspr4.so
opt/Zotero/Zotero_linux-x86_64/liblgpllibs.so
opt/Zotero/Zotero_linux-x86_64/libnssdbm3.so
opt/Zotero/Zotero_linux-x86_64/zotero-bin
opt/Zotero/Zotero_linux-x86_64/libssl3.so
opt/Zotero/Zotero_linux-x86_64/plugin-container
opt/Zotero/Zotero_linux-x86_64/libmozavcodec.so
opt/Zotero/Zotero_linux-x86_64/minidump-analyzer
opt/Zotero/Zotero_linux-x86_64/libmozgtk.so
opt/Zotero/Zotero_linux-x86_64/libnssutil3.so
opt/Zotero/Zotero_linux-x86_64/libplds4.so
opt/Zotero/Zotero_linux-x86_64/libfreeblpriv3.so
opt/Zotero/Zotero_linux-x86_64/libnssckbi.so
opt/Zotero/Zotero_linux-x86_64/libplc4.so
opt/Zotero/Zotero_linux-x86_64/libmozsandbox.so
opt/Zotero/Zotero_linux-x86_64/updater
opt/Zotero/Zotero_linux-x86_64/libmozsqlite3.so
opt/Zotero/Zotero_linux-x86_64/libnss3.so
opt/Zotero/Zotero_linux-x86_64/libmozavutil.so
opt/Zotero/Zotero_linux-x86_64/libsmime3.so
opt/Zotero/Zotero_linux-x86_64/gmp-clearkey/0.1/libclearkey.so
opt/Zotero/Zotero_linux-x86_64/gtk2/libmozgtk.so"
S="${WORKDIR}"
src_prepare() {
default
sed -e 's|CALLDIR=.*|CALLDIR="/opt/Zotero"|' -i Zotero_linux-x86_64/zotero || die
sed -e 's|Exec=.*|Exec=bash -c "/opt/Zotero/zotero -url %U"|' -i Zotero_linux-x86_64/zotero.desktop || die
}
src_install() {
insinto /opt/Zotero
doins -r Zotero_linux-x86_64/*
insinto /usr/share/applications
doins -r Zotero_linux-x86_64/zotero.desktop
fperms +x /opt/Zotero/zotero
fperms +x /opt/Zotero/zotero-bin
fperms +x /opt/Zotero/pdfinfo
fperms +x /opt/Zotero/pdftotext
dosym ../../opt/Zotero/zotero /usr/bin/zotero
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}