Merge branch 'update_mail-client/freelook-bin' into 'master'

mail-client/freelook-bin: Updated into 1.0.1

See merge request src_prepare/src_prepare-overlay!80
This commit is contained in:
TheMainOne 2020-09-21 20:41:49 +00:00
commit a99ae2a417
2 changed files with 59 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST electron-outlook_1.0.0_amd64.deb 45753716 BLAKE2B 7a58ae9a7b17647cf1dd6ce750bbfba2a344aadba12552b175e8aa394564f6ef8968db576cf191b5965615fed771822a4f3142c689aee1d326b94224f345e99f SHA512 fba47d2e5a8f9a9920a523681ad7f06036ca7013683217bc2dbddda90dc409e19779d702498604f601ee08e83cf10543da9bfb4eca8a2fa8e48c05a82f0cff61 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

View File

@ -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
}