diff options
Diffstat (limited to 'app-text/zotero-bin/zotero-bin-5.0.66.ebuild')
-rw-r--r-- | app-text/zotero-bin/zotero-bin-5.0.66.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/app-text/zotero-bin/zotero-bin-5.0.66.ebuild b/app-text/zotero-bin/zotero-bin-5.0.66.ebuild deleted file mode 100644 index 2bb849e..0000000 --- a/app-text/zotero-bin/zotero-bin-5.0.66.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit desktop - -MY_PN="Zotero" -LNXARCH="linux-x86_64" - -DESCRIPTION="A tool to help 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=${LNXARCH}&version=${PV} -> ${MY_PN}-${PV}_${LNXARCH}.tar.bz" - -MY_P="${MY_PN}-${PV}" - -S="${WORKDIR}/${MY_PN}_${LNXARCH}" - -IUSE="" -LICENSE="GPL-3" -KEYWORDS="~amd64" -SLOT="0" - -DEPEND="" -RDEPEND="${DEPEND}" - -ZOTERO_INSTALL_DIR="/opt/${PN}" - -src_install() { - # install zotero files to /opt/zotero - dodir ${ZOTERO_INSTALL_DIR} - cp -a ${S}/. ${D}${ZOTERO_INSTALL_DIR} || die "Installing files failed" - - # install zotero-start.sh in /opt/zotero - touch $D${ZOTERO_INSTALL_DIR}/zotero-start.sh - - # give it some instructions to start zotero - echo "#!/bin/sh" >> $D${ZOTERO_INSTALL_DIR}/zotero-start.sh - echo "exec \"/opt/${PN}/zotero\"" >> $D${ZOTERO_INSTALL_DIR}/zotero-start.sh - - # make zotero-start.sh executable - fperms +x ${ZOTERO_INSTALL_DIR}/zotero-start.sh - - # sym link /opt/zotero/zotero-start.sh to /opt/bin/zotero - dosym ${ZOTERO_INSTALL_DIR}/zotero-start.sh /opt/bin/zotero - - newicon -s 48 chrome/icons/default/default48.png zotero.png - newicon chrome/icons/default/default48.png zotero.png - newicon -s 32 chrome/icons/default/default32.png zotero.png - newicon -s 16 chrome/icons/default/default16.png zotero.png - make_desktop_entry "/opt/bin/zotero" Zotero zotero Science -} |