From c3ccecdb6e8e255e73ec8196222fd83bd0af9f4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Mon, 21 Sep 2020 22:27:33 +0200 Subject: [PATCH] mail-client/freelook-bin: Updated into 1.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- mail-client/freelook-bin/Manifest | 1 + .../freelook-bin/freelook-bin-1.0.1.ebuild | 58 +++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 mail-client/freelook-bin/freelook-bin-1.0.1.ebuild diff --git a/mail-client/freelook-bin/Manifest b/mail-client/freelook-bin/Manifest index 68ccecb..c44739e 100644 --- a/mail-client/freelook-bin/Manifest +++ b/mail-client/freelook-bin/Manifest @@ -1 +1,2 @@ DIST electron-outlook_1.0.0_amd64.deb 45753716 BLAKE2B 7a58ae9a7b17647cf1dd6ce750bbfba2a344aadba12552b175e8aa394564f6ef8968db576cf191b5965615fed771822a4f3142c689aee1d326b94224f345e99f SHA512 fba47d2e5a8f9a9920a523681ad7f06036ca7013683217bc2dbddda90dc409e19779d702498604f601ee08e83cf10543da9bfb4eca8a2fa8e48c05a82f0cff61 +DIST electron-outlook_1.0.1_amd64.deb 50733580 BLAKE2B 3c4be6090454d111f1b0875f0da4f322b229e23ececa4ab6f912634684b107a28132da46010c7c2aedd4fe1ec702e657e1fb762affe6d373deb28575117f53c8 SHA512 a8639165f334b8cde3489102d72bf3b68c71ac8c692d5f1b4657a7cfc6cc899d26d7d669e26e164cd554472c33db4a9ada72bdfad155d40b11858d92f5d04cd7 diff --git a/mail-client/freelook-bin/freelook-bin-1.0.1.ebuild b/mail-client/freelook-bin/freelook-bin-1.0.1.ebuild new file mode 100644 index 0000000..e9dbcea --- /dev/null +++ b/mail-client/freelook-bin/freelook-bin-1.0.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN=electron-outlook +MY_P="${MY_PN}_${PV}" + +inherit unpacker xdg-utils + +DESCRIPTION="Freelook, an Electron-based client for Microsoft Outlook" +HOMEPAGE="https://github.com/eNkru/freelook" +SRC_URI="https://github.com/eNkru/${PN//-bin}/releases/download/v${PV}/${MY_P}_amd64.deb" +RESTRICT="bindist mirror" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND=" + >=net-print/cups-2.0.0 + dev-libs/libappindicator + dev-libs/nss + gnome-base/gconf:2 + x11-libs/libXtst + x11-libs/libnotify +" + +QA_PREBUILT=" + /opt/Freelook/* +" + +S="${WORKDIR}" + +pkg_setup() { + use amd64 || die "Arch not supported" +} + +src_unpack() { + unpack_deb ${A} +} + +src_install() { + mv * "${D}" || die + rm -rd "${D}/usr/share/doc" + dosym "../../opt/Freelook/${MY_PN}" "${EROOT}/usr/bin/${MY_PN}" +} + +pkg_postinst() { + xdg_icon_cache_update + elog "Keep in mind that Freelook binary is named electron-outlook..." +} + +pkg_postrm() { + xdg_icon_cache_update +}