From a23ea1a9d5bbf1916e3402034772929ebc9b08ef Mon Sep 17 00:00:00 2001 From: root Date: Mon, 10 Aug 2020 12:06:25 +0200 Subject: [PATCH] Add zotero-5.0.89 --- app-editors/zotero/Manifest | 2 + app-editors/zotero/zotero-5.0.89.ebuild | 64 +++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 app-editors/zotero/Manifest create mode 100644 app-editors/zotero/zotero-5.0.89.ebuild diff --git a/app-editors/zotero/Manifest b/app-editors/zotero/Manifest new file mode 100644 index 0000000..4cf062b --- /dev/null +++ b/app-editors/zotero/Manifest @@ -0,0 +1,2 @@ +DIST zotero-5.0.89.tar.bz2 60183940 BLAKE2B fc871095b59bd0114c431075035381c9f904d010d2af5c2d8d531ee27317eb4f1c820934dcba70d5ca15449f95605c20334aa553fe72a72b15ff28d5ba0be947 SHA512 61245af3095396cd338e90f325aa5f32087f074c3d03c23b5de05fb1b265afab6320a8b9f33c40f6c3b91123669cb8e73b0e9e107ab66df0b5ac96eda2294bf8 +EBUILD zotero-5.0.89.ebuild 1980 BLAKE2B 03136ff4c6d9585f448cb420d8fa17ecdf2df9f5c6c47c0c1eebaa423da6da2c9e36bc0489c14a90f7b5278d29aefa7fc68aa2d76d174f2de07a05a5c0a57f81 SHA512 3d089fb75cbe5ba0835e17af45f966a66f6d6192d90dbdf6531e6ebae196fab0b684b26a084ca1542922faed81452403c39e3cafc59e6906fab1fd144d700d53 diff --git a/app-editors/zotero/zotero-5.0.89.ebuild b/app-editors/zotero/zotero-5.0.89.ebuild new file mode 100644 index 0000000..3e7fa63 --- /dev/null +++ b/app-editors/zotero/zotero-5.0.89.ebuild @@ -0,0 +1,64 @@ +# 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 +} + +src_install() { + insinto /opt/Zotero + doins -r Zotero_linux-x86_64/* + + 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 +}