mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
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>
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit unpacker xdg-utils
|
inherit unpacker xdg
|
||||||
|
|
||||||
DESCRIPTION="https://github.com/FreeTubeApp/FreeTube"
|
DESCRIPTION="https://github.com/FreeTubeApp/FreeTube"
|
||||||
HOMEPAGE="https://freetubeapp.io/"
|
HOMEPAGE="https://freetubeapp.io/"
|
||||||
@@ -30,17 +30,7 @@ src_install() {
|
|||||||
doins -r "${WORKDIR}"/usr/share/applications/*
|
doins -r "${WORKDIR}"/usr/share/applications/*
|
||||||
insinto /usr/share/icons/
|
insinto /usr/share/icons/
|
||||||
doins -r "${WORKDIR}"/usr/share/icons/*
|
doins -r "${WORKDIR}"/usr/share/icons/*
|
||||||
chmod 4755 "${D}"/opt/FreeTube/chrome-sandbox
|
chmod 4755 "${D}"/opt/FreeTube/chrome-sandbox || die
|
||||||
chmod +x "${D}"/opt/FreeTube/freetube
|
chmod +x "${D}"/opt/FreeTube/freetube || die
|
||||||
dosym "${EPREFIX}"/opt/FreeTube/freetube /usr/bin/freetube-bin
|
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
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user