commit:     bc7d84e46c3dc2ce8b0634dcee2cf58a6205c576
Author:     Simon van der Maas <svdm-gentoo <AT> protonmail <DOT> com>
AuthorDate: Sat Feb 20 20:06:12 2021 +0000
Commit:     Simon van der Maas <svdm-gentoo <AT> protonmail <DOT> com>
CommitDate: Sat Feb 20 20:06:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bc7d84e4

net-misc/freetube-bin: fixed ebuild

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Simon van der Maas <svdm-gentoo <AT> protonmail.com>

 net-misc/freetube-bin/freetube-bin-0.11.3.ebuild | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/net-misc/freetube-bin/freetube-bin-0.11.3.ebuild 
b/net-misc/freetube-bin/freetube-bin-0.11.3.ebuild
index 748ec025..2e081cfb 100644
--- a/net-misc/freetube-bin/freetube-bin-0.11.3.ebuild
+++ b/net-misc/freetube-bin/freetube-bin-0.11.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit unpacker xdg-utils
+inherit unpacker xdg
 
 DESCRIPTION="https://github.com/FreeTubeApp/FreeTube";
 HOMEPAGE="https://freetubeapp.io/";
@@ -30,17 +30,7 @@ src_install() {
        doins -r "${WORKDIR}"/usr/share/applications/*
        insinto /usr/share/icons/
        doins -r "${WORKDIR}"/usr/share/icons/*
-       chmod 4755 "${D}"/opt/FreeTube/chrome-sandbox
-       chmod +x  "${D}"/opt/FreeTube/freetube
+       chmod 4755 "${D}"/opt/FreeTube/chrome-sandbox || die
+       chmod +x  "${D}"/opt/FreeTube/freetube || die
        dosym "${EPREFIX}"/opt/FreeTube/freetube /usr/bin/freetube-bin
 }
-
-pkg_postinst() {
-       xdg_desktop_database_update
-       xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_desktop_database_update
-       xdg_icon_cache_update
-}

Reply via email to