diff options
author | Vladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua> | 2017-07-13 19:08:22 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-07-15 13:24:37 +0200 |
commit | abafceae3b77e2477724677e1536fdfe7efdad98 (patch) | |
tree | 2d1bba3cd6aa6065d71da0bd44957863a97a534c /net-im/slack-bin | |
parent | dev-perl/DBD-Pg: Version Bump to 3.6.2 (diff) | |
download | gentoo-abafceae3b77e2477724677e1536fdfe7efdad98.tar.gz gentoo-abafceae3b77e2477724677e1536fdfe7efdad98.tar.bz2 gentoo-abafceae3b77e2477724677e1536fdfe7efdad98.zip |
net-im/slack-bin: add support for xdg (bug #624612), fix absdosym
Closes: https://github.com/gentoo/gentoo/pull/5102
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'net-im/slack-bin')
-rw-r--r-- | net-im/slack-bin/slack-bin-2.1.2.ebuild | 6 | ||||
-rw-r--r-- | net-im/slack-bin/slack-bin-2.5.2.ebuild | 6 | ||||
-rw-r--r-- | net-im/slack-bin/slack-bin-2.6.3.ebuild | 6 |
3 files changed, 12 insertions, 6 deletions
diff --git a/net-im/slack-bin/slack-bin-2.1.2.ebuild b/net-im/slack-bin/slack-bin-2.1.2.ebuild index 25b5182edbfa..6a7b8f24e9b0 100644 --- a/net-im/slack-bin/slack-bin-2.1.2.ebuild +++ b/net-im/slack-bin/slack-bin-2.1.2.ebuild @@ -6,7 +6,7 @@ EAPI=6 MY_PN="${PN/-bin/}" BASE_URI="https://downloads.slack-edge.com/linux_releases/${MY_PN}-desktop-${PV}-_arch_.deb" -inherit eutils gnome2-utils unpacker +inherit eutils gnome2-utils unpacker xdg-utils DESCRIPTION="Team collaboration tool" HOMEPAGE="http://www.slack.com/" @@ -66,13 +66,15 @@ src_install() { insinto /opt/${MY_PN} doins -r usr/lib/${MY_PN}/. fperms +x /opt/${MY_PN}/${MY_PN} - dosym /opt/${MY_PN}/${MY_PN} /usr/bin/${MY_PN} + dosym ../../opt/${MY_PN}/${MY_PN} usr/bin/${MY_PN} } pkg_postinst() { + xdg_desktop_database_update gnome2_icon_cache_update } pkg_postrm() { + xdg_desktop_database_update gnome2_icon_cache_update } diff --git a/net-im/slack-bin/slack-bin-2.5.2.ebuild b/net-im/slack-bin/slack-bin-2.5.2.ebuild index 7c5104c72f11..df38598b0cdb 100644 --- a/net-im/slack-bin/slack-bin-2.5.2.ebuild +++ b/net-im/slack-bin/slack-bin-2.5.2.ebuild @@ -5,7 +5,7 @@ EAPI=6 MY_PN="${PN/-bin/}" -inherit eutils gnome2-utils unpacker +inherit eutils gnome2-utils unpacker xdg-utils DESCRIPTION="Team collaboration tool" HOMEPAGE="http://www.slack.com/" @@ -64,13 +64,15 @@ src_install() { insinto /opt/${MY_PN} doins -r usr/lib/${MY_PN}/. fperms +x /opt/${MY_PN}/${MY_PN} - dosym /opt/${MY_PN}/${MY_PN} /usr/bin/${MY_PN} + dosym ../../opt/${MY_PN}/${MY_PN} usr/bin/${MY_PN} } pkg_postinst() { + xdg_desktop_database_update gnome2_icon_cache_update } pkg_postrm() { + xdg_desktop_database_update gnome2_icon_cache_update } diff --git a/net-im/slack-bin/slack-bin-2.6.3.ebuild b/net-im/slack-bin/slack-bin-2.6.3.ebuild index 7c5104c72f11..df38598b0cdb 100644 --- a/net-im/slack-bin/slack-bin-2.6.3.ebuild +++ b/net-im/slack-bin/slack-bin-2.6.3.ebuild @@ -5,7 +5,7 @@ EAPI=6 MY_PN="${PN/-bin/}" -inherit eutils gnome2-utils unpacker +inherit eutils gnome2-utils unpacker xdg-utils DESCRIPTION="Team collaboration tool" HOMEPAGE="http://www.slack.com/" @@ -64,13 +64,15 @@ src_install() { insinto /opt/${MY_PN} doins -r usr/lib/${MY_PN}/. fperms +x /opt/${MY_PN}/${MY_PN} - dosym /opt/${MY_PN}/${MY_PN} /usr/bin/${MY_PN} + dosym ../../opt/${MY_PN}/${MY_PN} usr/bin/${MY_PN} } pkg_postinst() { + xdg_desktop_database_update gnome2_icon_cache_update } pkg_postrm() { + xdg_desktop_database_update gnome2_icon_cache_update } |