mail-client/freelook-bin: add version 1.0.0
This commit is contained in:
parent
97215556e0
commit
f9568ca053
1
mail-client/freelook-bin/Manifest
Normal file
1
mail-client/freelook-bin/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST electron-outlook_1.0.0_amd64.deb 45753716 BLAKE2B 7a58ae9a7b17647cf1dd6ce750bbfba2a344aadba12552b175e8aa394564f6ef8968db576cf191b5965615fed771822a4f3142c689aee1d326b94224f345e99f SHA512 fba47d2e5a8f9a9920a523681ad7f06036ca7013683217bc2dbddda90dc409e19779d702498604f601ee08e83cf10543da9bfb4eca8a2fa8e48c05a82f0cff61
|
58
mail-client/freelook-bin/freelook-bin-1.0.0.ebuild
Normal file
58
mail-client/freelook-bin/freelook-bin-1.0.0.ebuild
Normal 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/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
|
||||||
|
}
|
7
mail-client/freelook-bin/metadata.xml
Normal file
7
mail-client/freelook-bin/metadata.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">eNkru/freelook</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user