Add riot-web.desktop file for use in DEs
This commit is contained in:
parent
078736915d
commit
a392cff0c4
9
net-im/riot-web/files/riot-web.desktop
Normal file
9
net-im/riot-web/files/riot-web.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=Riot Web
|
||||
Comment=A glossy Matrix collaboration client for the web.
|
||||
Exec=/usr/bin/riot-web
|
||||
Icon={::install_location::}/electron_app/img/riot.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;Chat;Telephony;VideoConference;
|
||||
StartupNotify=true
|
||||
@ -102,6 +102,9 @@ src_install() {
|
||||
insinto "${DESTINATION}/electron_app"
|
||||
doins -r "${S}/origin_migrator"
|
||||
|
||||
cp "${FILESDIR}/${PN}.desktop" "${T}"
|
||||
sed -e 's@{::install_location::}@'"${DESTINATION}"'@g' "${T}/${PN}.desktop" -i
|
||||
domenu "${T}/${PN}.desktop"
|
||||
dosym "${DESTINATION}/${PN}" "/usr/bin/${PN}"
|
||||
}
|
||||
|
||||
|
||||
@ -102,6 +102,9 @@ src_install() {
|
||||
insinto "${DESTINATION}/electron_app"
|
||||
doins -r "${S}/origin_migrator"
|
||||
|
||||
cp "${FILESDIR}/${PN}.desktop" "${T}"
|
||||
sed -e 's@{::install_location::}@'"${DESTINATION}"'@g' "${T}/${PN}.desktop" -i
|
||||
domenu "${T}/${PN}.desktop"
|
||||
dosym "${DESTINATION}/${PN}" "/usr/bin/${PN}"
|
||||
}
|
||||
|
||||
|
||||
@ -102,6 +102,9 @@ src_install() {
|
||||
insinto "${DESTINATION}/electron_app"
|
||||
doins -r "${S}/origin_migrator"
|
||||
|
||||
cp "${FILESDIR}/${PN}.desktop" "${T}"
|
||||
sed -e 's@{::install_location::}@'"${DESTINATION}"'@g' "${T}/${PN}.desktop" -i
|
||||
domenu "${T}/${PN}.desktop"
|
||||
dosym "${DESTINATION}/${PN}" "/usr/bin/${PN}"
|
||||
}
|
||||
|
||||
|
||||
@ -102,6 +102,9 @@ src_install() {
|
||||
insinto "${DESTINATION}/electron_app"
|
||||
doins -r "${S}/origin_migrator"
|
||||
|
||||
cp "${FILESDIR}/${PN}.desktop" "${T}"
|
||||
sed -e 's@{::install_location::}@'"${DESTINATION}"'@g' "${T}/${PN}.desktop" -i
|
||||
domenu "${T}/${PN}.desktop"
|
||||
dosym "${DESTINATION}/${PN}" "/usr/bin/${PN}"
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user