From 68e96a346d0c3ceea07af9f4323f369f13443ebc Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Mon, 8 Oct 2018 15:09:50 +0100 Subject: net-im/yakyak: new ebuild version 1.5.2 Package-Manager: Portage-2.3.50, Repoman-2.3.11 --- net-im/yakyak/Manifest | 1 + net-im/yakyak/metadata.xml | 8 ++++++ net-im/yakyak/yakyak-1.5.2.ebuild | 52 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 net-im/yakyak/Manifest create mode 100644 net-im/yakyak/metadata.xml create mode 100644 net-im/yakyak/yakyak-1.5.2.ebuild (limited to 'net-im') diff --git a/net-im/yakyak/Manifest b/net-im/yakyak/Manifest new file mode 100644 index 0000000..7503b69 --- /dev/null +++ b/net-im/yakyak/Manifest @@ -0,0 +1 @@ +DIST yakyak-1.5.2-linux-x86_64.rpm 71289941 SHA256 323d0d4501515894c4129069d5ed05c22453ed64841d73970b33805f1a1da410 SHA512 d560372f0ce21d1a1f73f560d54cb3193a8d6a247142031e0299525f1c1dc8fcc2e6361ca98bc172a45670a3582df08f5cacf623f6af7a421ea01a4015f7a429 WHIRLPOOL 3a7d906c76d5a87976254a26ce62d6e7b3a1b0768e0ea1b0f1710468b4d9651a8d7ff0b8623e2f1ef72a5c9798142696e5f952210968e3ca077e489508fbf091 diff --git a/net-im/yakyak/metadata.xml b/net-im/yakyak/metadata.xml new file mode 100644 index 0000000..65f1d14 --- /dev/null +++ b/net-im/yakyak/metadata.xml @@ -0,0 +1,8 @@ + + + + + jfmcarreira@gmail.com + Joao Carreira + + diff --git a/net-im/yakyak/yakyak-1.5.2.ebuild b/net-im/yakyak/yakyak-1.5.2.ebuild new file mode 100644 index 0000000..bf92121 --- /dev/null +++ b/net-im/yakyak/yakyak-1.5.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit rpm gnome2-utils xdg-utils + +DESCRIPTION="Desktop chat client for Google Hangouts" +HOMEPAGE="https://github.com/yakyak/yakyak" +SRC_URI="https://github.com/yakyak/yakyak/releases/download/v${PV}/yakyak-${PV}-linux-x86_64.rpm" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gnome" + +DEPEND="" +RDEPEND="${DEPEND}" + +RESTRICT="binchecks strip" + +S="${WORKDIR}" + +src_prepare() { + default + use gnome && xdg_environment_reset +} + +src_unpack() { + rpm_unpack yakyak-${PV}-linux-x86_64.rpm +} + +src_install() { + cp -r "${S}/usr" "${D}/" || die "Install failed!" + cp -r "${S}/opt" "${D}/" || die "Install failed!" +} + +pkg_preinst() { + use gnome && gnome2_icon_savelist +} + +pkg_postinst() { + use gnome && gnome2_icon_cache_update + use gnome && xdg_desktop_database_update + use gnome && xdg_mimeinfo_database_update +} + +pkg_postrm() { + use gnome && gnome2_icon_cache_update + use gnome && xdg_desktop_database_update + use gnome && xdg_mimeinfo_database_update +} -- cgit v1.2.3-65-gdbad