aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon van der Maas <svdm-gentoo@protonmail.com>2021-02-20 21:06:12 +0100
committerSimon van der Maas <svdm-gentoo@protonmail.com>2021-02-20 21:06:12 +0100
commitbc7d84e46c3dc2ce8b0634dcee2cf58a6205c576 (patch)
tree96dc4a5d740acad1713d1141adb00931bb4540d2 /net-misc
parentwww-client/browsh-bin: new package (diff)
downloadguru-bc7d84e46c3dc2ce8b0634dcee2cf58a6205c576.tar.gz
guru-bc7d84e46c3dc2ce8b0634dcee2cf58a6205c576.tar.bz2
guru-bc7d84e46c3dc2ce8b0634dcee2cf58a6205c576.zip
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@protonmail.com>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/freetube-bin/freetube-bin-0.11.3.ebuild16
1 files 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 748ec025f..2e081cfbf 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
-}