summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJoao Carreira <jfmcarreira@gmail.com>2018-10-08 15:09:50 +0100
committerJoao Carreira <jfmcarreira@gmail.com>2018-10-08 15:09:50 +0100
commit68e96a346d0c3ceea07af9f4323f369f13443ebc (patch)
tree6b864cbc19d2fd395612e71f4b6d01e8a69b8202 /net-im
parentx11-misc/barrier: version bump 2.1.2 (diff)
downloadcarreira-68e96a346d0c3ceea07af9f4323f369f13443ebc.tar.gz
carreira-68e96a346d0c3ceea07af9f4323f369f13443ebc.tar.bz2
carreira-68e96a346d0c3ceea07af9f4323f369f13443ebc.zip
net-im/yakyak: new ebuild version 1.5.2
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'net-im')
-rw-r--r--net-im/yakyak/Manifest1
-rw-r--r--net-im/yakyak/metadata.xml8
-rw-r--r--net-im/yakyak/yakyak-1.5.2.ebuild52
3 files changed, 61 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jfmcarreira@gmail.com</email>
+ <name>Joao Carreira</name>
+ </maintainer>
+</pkgmetadata>
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
+}