www-client/waterfox: change desktop file location in filesdir

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2020-09-22 22:52:36 +02:00
parent ae969e3f9c
commit 10e6ceb0e6
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
5 changed files with 4 additions and 4 deletions

View File

@ -351,7 +351,7 @@ src_install() {
doins "${icon_path}/${icon}.png" doins "${icon_path}/${icon}.png"
# Install a 48x48 icon into /usr/share/pixmaps for legacy DEs # Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
newicon "${icon_path}/default48.png" "${icon}.png" newicon "${icon_path}/default48.png" "${icon}.png"
newmenu "${FILESDIR}/icon/${PN}.desktop" "${PN}.desktop" newmenu "${FILESDIR}/${PN}.desktop" "${PN}.desktop"
sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \ sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \
"${ED%/}/usr/share/applications/${PN}.desktop" \ "${ED%/}/usr/share/applications/${PN}.desktop" \
|| die || die

View File

@ -351,7 +351,7 @@ src_install() {
doins "${icon_path}/${icon}.png" doins "${icon_path}/${icon}.png"
# Install a 48x48 icon into /usr/share/pixmaps for legacy DEs # Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
newicon "${icon_path}/default48.png" "${icon}.png" newicon "${icon_path}/default48.png" "${icon}.png"
newmenu "${FILESDIR}/icon/${PN}.desktop" "${PN}.desktop" newmenu "${FILESDIR}/${PN}.desktop" "${PN}.desktop"
sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \ sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \
"${ED%/}/usr/share/applications/${PN}.desktop" \ "${ED%/}/usr/share/applications/${PN}.desktop" \
|| die || die

View File

@ -351,7 +351,7 @@ src_install() {
doins "${icon_path}/${icon}.png" doins "${icon_path}/${icon}.png"
# Install a 48x48 icon into /usr/share/pixmaps for legacy DEs # Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
newicon "${icon_path}/default48.png" "${icon}.png" newicon "${icon_path}/default48.png" "${icon}.png"
newmenu "${FILESDIR}/icon/${PN}.desktop" "${PN}.desktop" newmenu "${FILESDIR}/${PN}.desktop" "${PN}.desktop"
sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \ sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \
"${ED%/}/usr/share/applications/${PN}.desktop" \ "${ED%/}/usr/share/applications/${PN}.desktop" \
|| die || die

View File

@ -352,7 +352,7 @@ src_install() {
doins "${icon_path}/${icon}.png" doins "${icon_path}/${icon}.png"
# Install a 48x48 icon into /usr/share/pixmaps for legacy DEs # Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
newicon "${icon_path}/default48.png" "${icon}.png" newicon "${icon_path}/default48.png" "${icon}.png"
newmenu "${FILESDIR}/icon/${PN}.desktop" "${PN}.desktop" newmenu "${FILESDIR}/${PN}.desktop" "${PN}.desktop"
sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \ sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \
"${ED%/}/usr/share/applications/${PN}.desktop" \ "${ED%/}/usr/share/applications/${PN}.desktop" \
|| die || die