From e1a7424e3b14e05e4cbb33428f823fd3ac8986a6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 28 Dec 2017 20:14:53 +0000 Subject: mail-client/wmail : use menu icon provided by theme --- mail-client/wmail/wmail-2.3.0-r1.ebuild | 39 +++++++++++++++++++++++++++++++++ mail-client/wmail/wmail-2.3.0.ebuild | 38 -------------------------------- 2 files changed, 39 insertions(+), 38 deletions(-) create mode 100644 mail-client/wmail/wmail-2.3.0-r1.ebuild delete mode 100644 mail-client/wmail/wmail-2.3.0.ebuild (limited to 'mail-client') diff --git a/mail-client/wmail/wmail-2.3.0-r1.ebuild b/mail-client/wmail/wmail-2.3.0-r1.ebuild new file mode 100644 index 00000000..e9cd6970 --- /dev/null +++ b/mail-client/wmail/wmail-2.3.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils unpacker + +DESCRIPTION="The missing desktop client for Gmail & Google Inbox" +HOMEPAGE="https://github.com/Thomas101/wmail" +SRC_URI="https://github.com/Thomas101/wmail/releases/download/v${PV}/WMail_2_3_0_linux_x86_64.deb" + +LICENSE="GPL2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="dev-libs/nss + gnome-base/gconf + media-libs/alsa-lib + sys-apps/lsb-release + x11-libs/gtk+:2 + x11-libs/libXtst + x11-libs/libnotify" +RDEPEND="${DEPEND}" + +RESTRICT="mirror" + +S="${WORKDIR}" + +src_unpack() { + unpack_deb ${A} +} + +src_install() { + mv * "${D}" || die + sed -i "s/Icon=\/opt\/wmail-desktop\/icon.png/Icon=wmail/g" ${D}usr/share/applications/wmail.desktop + fperms 0755 /opt/${PN}-desktop/WMail || die +} diff --git a/mail-client/wmail/wmail-2.3.0.ebuild b/mail-client/wmail/wmail-2.3.0.ebuild deleted file mode 100644 index 2637df74..00000000 --- a/mail-client/wmail/wmail-2.3.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit eutils unpacker - -DESCRIPTION="The missing desktop client for Gmail & Google Inbox" -HOMEPAGE="https://github.com/Thomas101/wmail" -SRC_URI="https://github.com/Thomas101/wmail/releases/download/v${PV}/WMail_2_3_0_linux_x86_64.deb" - -LICENSE="GPL2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="dev-libs/nss - gnome-base/gconf - media-libs/alsa-lib - sys-apps/lsb-release - x11-libs/gtk+:2 - x11-libs/libXtst - x11-libs/libnotify" -RDEPEND="${DEPEND}" - -RESTRICT="mirror" - -S="${WORKDIR}" - -src_unpack() { - unpack_deb ${A} -} - -src_install() { - mv * "${D}" || die - fperms 0755 /opt/${PN}-desktop/WMail || die -} -- cgit v1.2.3