diff --git a/mail-client/freelook-bin/Manifest b/mail-client/freelook-bin/Manifest new file mode 100644 index 0000000..68ccecb --- /dev/null +++ b/mail-client/freelook-bin/Manifest @@ -0,0 +1 @@ +DIST electron-outlook_1.0.0_amd64.deb 45753716 BLAKE2B 7a58ae9a7b17647cf1dd6ce750bbfba2a344aadba12552b175e8aa394564f6ef8968db576cf191b5965615fed771822a4f3142c689aee1d326b94224f345e99f SHA512 fba47d2e5a8f9a9920a523681ad7f06036ca7013683217bc2dbddda90dc409e19779d702498604f601ee08e83cf10543da9bfb4eca8a2fa8e48c05a82f0cff61 diff --git a/mail-client/freelook-bin/freelook-bin-1.0.0.ebuild b/mail-client/freelook-bin/freelook-bin-1.0.0.ebuild new file mode 100644 index 0000000..38aff08 --- /dev/null +++ b/mail-client/freelook-bin/freelook-bin-1.0.0.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/freelook/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}" "/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 +} diff --git a/mail-client/freelook-bin/metadata.xml b/mail-client/freelook-bin/metadata.xml new file mode 100644 index 0000000..f9a0baf --- /dev/null +++ b/mail-client/freelook-bin/metadata.xml @@ -0,0 +1,7 @@ + + + + + eNkru/freelook + +