games-util/ProtonUp-Qt: improve ebuild

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
Gonçalo Negrier Duarte
2023-07-07 23:37:58 +01:00
parent 88235dbaee
commit 7fb35f6405
2 changed files with 10 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{9..12} )
EPYTHON=python3
inherit distutils-r1 desktop
inherit distutils-r1 desktop xdg-utils
SRC_URI="https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v${PV}.tar.gz"
DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface."
@@ -46,3 +46,7 @@ src_install() {
newicon -s 128 "${WORKDIR}/${P}/share/icons/hicolor/128x128/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
newicon -s 256 "${WORKDIR}/${P}/share/icons/hicolor/256x256/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
}
pkg_postinst() {
xdg_icon_cache_update
}

View File

@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{9..12} )
EPYTHON=python3
inherit git-r3 distutils-r1 desktop
inherit git-r3 distutils-r1 desktop xdg-utils
EGIT_REPO_URI="https://github.com/DavidoTek/ProtonUp-Qt.git"
DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface."
HOMEPAGE="https://davidotek.github.io/protonup-qt"
@@ -41,3 +41,7 @@ src_install() {
newicon -s 128 "${WORKDIR}/${P}/share/icons/hicolor/128x128/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
newicon -s 256 "${WORKDIR}/${P}/share/icons/hicolor/256x256/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
}
pkg_postinst() {
xdg_icon_cache_update
}