summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJoao Carreira <jfmcarreira@gmail.com>2018-10-09 15:01:34 +0100
committerJoao Carreira <jfmcarreira@gmail.com>2018-10-09 15:01:34 +0100
commit60b9de74c7f3bf11d31fa50a7e60458c27a7411e (patch)
tree418f2e9f64a73d6aca10accc5a60de5c7233b52c /net-im
parentkde-misc/ultimategmailfeed: new ebuild version 1.6 (diff)
downloadcarreira-60b9de74c7f3bf11d31fa50a7e60458c27a7411e.tar.gz
carreira-60b9de74c7f3bf11d31fa50a7e60458c27a7411e.tar.bz2
carreira-60b9de74c7f3bf11d31fa50a7e60458c27a7411e.zip
net-im/yakyak-bin: package rename
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'net-im')
-rw-r--r--net-im/yakyak-bin/Manifest1
-rw-r--r--net-im/yakyak-bin/metadata.xml8
-rw-r--r--net-im/yakyak-bin/yakyak-bin-1.5.2.ebuild52
3 files changed, 61 insertions, 0 deletions
diff --git a/net-im/yakyak-bin/Manifest b/net-im/yakyak-bin/Manifest
new file mode 100644
index 0000000..7503b69
--- /dev/null
+++ b/net-im/yakyak-bin/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-bin/metadata.xml b/net-im/yakyak-bin/metadata.xml
new file mode 100644
index 0000000..65f1d14
--- /dev/null
+++ b/net-im/yakyak-bin/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-bin/yakyak-bin-1.5.2.ebuild b/net-im/yakyak-bin/yakyak-bin-1.5.2.ebuild
new file mode 100644
index 0000000..bf92121
--- /dev/null
+++ b/net-im/yakyak-bin/yakyak-bin-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
+}