Skip to content

Commit

Permalink
adding zotero-bin-5
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Vef committed Jul 6, 2018
1 parent d9ac234 commit 04999cb
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app-text/zotero-bin/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DIST Zotero-5.0.52_linux-x86_64.tar.bz2 59369538 BLAKE2B c2a3856521addd8b78f134cc8c24434ba7dfcae985e1f9c946fa25b4f6bb3f474f0990adc4e64b08b2676195c441f0e51fd56503cde3cc3f87eedf645572d429 SHA512 028e8406298a319988f71228416434024a46dda5bacfeeb62f27cdc2f25c7179b0f496c8e154fef11672cbaa4b38cc52823f0e2d00c7160353d3b2f379df1f41
EBUILD zotero-bin-5.0.52.ebuild 677 BLAKE2B 92f484601c726957905c4cd3c6689386d5a7656bd328a6f5b40e7dd7db0291581224569a205fa840e15f50b3c478636d52a3d5f401c6a719820b9644b861e16c SHA512 7986f2b1a658a6667eb90dcb2ede74baf591d33b9b13fa93ad24e1f4c346f55cf35df74151808d61c7d167564df97fb1934de54641e437f6041c07ac7ce3b2bf
37 changes: 37 additions & 0 deletions app-text/zotero-bin/zotero-bin-5.0.52.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit eutils

DESCRIPTION=""
HOMEPAGE="https://www.zotero.org"
MY_PN="Zotero"
MY_P="${MY_PN}-${PV}"
MY_ARCH="linux-x86_64"
SRC_URI="https://download.zotero.org/client/release/${PV}/${MY_P}_${MY_ARCH}.tar.bz2"

LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

S="${WORKDIR}/${MY_PN}_${MY_ARCH}"

src_install() {
local dest="/opt/${PN}"

insinto "${dest}"
doins -r ./

exeinto "${dest}"
doexe zotero-bin zotero


make_desktop_entry "${dest}/zotero" "${MY_PN} ${PV}" "${dest}/chrome/icons/default/default48.png"
}

0 comments on commit 04999cb

Please sign in to comment.