diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-05-22 13:04:26 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-05-22 13:04:26 +0200 |
commit | a6f98d950c021930780dc22dcd4eaa1664f1595d (patch) | |
tree | a0716c9bce7d2ad89108c47abc3ad18c60576e01 /app-text | |
parent | dev-python/pybind11-stubgen: version bump to 0.8.7 (diff) | |
download | sci-a6f98d950c021930780dc22dcd4eaa1664f1595d.tar.gz sci-a6f98d950c021930780dc22dcd4eaa1664f1595d.tar.bz2 sci-a6f98d950c021930780dc22dcd4eaa1664f1595d.zip |
app-text/zotero-bin: move to ::gentoo
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/zotero-bin/Manifest | 1 | ||||
-rw-r--r-- | app-text/zotero-bin/metadata.xml | 11 | ||||
-rw-r--r-- | app-text/zotero-bin/zotero-bin-5.0.96.ebuild | 53 |
3 files changed, 0 insertions, 65 deletions
diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest deleted file mode 100644 index 65564e616..000000000 --- a/app-text/zotero-bin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST zotero-bin-5.0.96.tar.bz2 60474165 BLAKE2B 5330ea95360cd20cbcf9366481bf715ca0b50fe6919814bba6192cd71b6c94724bd3edb2b6cde3b894b06d2f232f867b6b52426e6ab57668150c23d487c53655 SHA512 aa755b280ac9f03031d70105ada7be9ba9da17f858bffc33e8b7598e85b53b2915854b57c78c2644d181c1368aa3fdcb87f08e6bd2a0f40592acfa7faccbb124 diff --git a/app-text/zotero-bin/metadata.xml b/app-text/zotero-bin/metadata.xml deleted file mode 100644 index e59e3d92b..000000000 --- a/app-text/zotero-bin/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>andrewammerlaan@gentoo.org</email> - <name>Andrew Ammerlaan</name> - </maintainer> - <upstream> - <remote-id type="github">zotero/zotero</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-text/zotero-bin/zotero-bin-5.0.96.ebuild b/app-text/zotero-bin/zotero-bin-5.0.96.ebuild deleted file mode 100644 index 5586e8b13..000000000 --- a/app-text/zotero-bin/zotero-bin-5.0.96.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop xdg - -DESCRIPTION="Helps you collect, organize, cite, and share your research sources" -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="GPL-3" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-libs/dbus-glib - dev-libs/nss - x11-libs/gtk+:3 - x11-libs/libXt -" - -S="${WORKDIR}/Zotero_linux-x86_64" - -QA_PREBUILT="*" - -src_prepare() { - # disable update - sed -i -e 's/\(pref("app.update.enabled"\).*/\1, false);/' defaults/preferences/prefs.js || die - - # disable default oo installation questions - manual installation is still possible - sed -i -e 's/\(pref("extensions.zoteroOpenOfficeIntegration.skipInstallation"\).*/\1, true);/' \ - extensions/zoteroOpenOfficeIntegration@zotero.org/defaults/preferences/zoteroOpenOfficeIntegration.js || die - - # fix desktop-file - sed -i -e 's#^Exec=.*#Exec=zotero#' zotero.desktop - sed -i -e 's#Icon=zotero.*#Icon=zotero#' zotero.desktop - - default -} - -src_install() { - dodir opt/zotero - cp -a "${S}"/* "${ED}/opt/zotero" || die - - dosym ../../opt/zotero/zotero usr/bin/zotero - - domenu zotero.desktop - - for size in 16 32 48; do - newicon -s ${size} chrome/icons/default/default${size}.png zotero.png - done -} |