games-util/r2modman-bin: update SRC_URI

* get icons from repo instead

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
Gonçalo Negrier Duarte
2023-12-28 19:01:58 +00:00
parent 87ebb1745a
commit c99ffc0cfa
11 changed files with 27 additions and 9 deletions

View File

@@ -7,7 +7,17 @@ M_PN=r2modman
M_PK=${PN::-3}
inherit desktop xdg
SRC_URI="https://github.com/ebkr/${M_PN}Plus/releases/download/v${PV}/${M_PN}-${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="
https://github.com/ebkr/${M_PN}Plus/releases/download/v${PV}/${M_PN}-${PV}.tar.gz -> ${P}.tar.gz
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/16x16.png -> "${M_PN}"-16x16.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/32x32.png -> "${M_PN}"-32x32.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/48x48.png -> "${M_PN}"-48x48.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/64x64.png -> "${M_PN}"-64x64.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/96x96.png -> "${M_PN}"-96x96.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/128x128.png -> "${M_PN}"-128x128.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/192x192.png -> "${M_PN}"-192x192.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v3.1.45/src/assets/icon/256x256.png -> "${M_PN}"-256x256.png
"
DESCRIPTION="A simple and easy to use mod manager for several games using Thunderstore"
HOMEPAGE="https://github.com/ebkr/r2modmanPlus"
@@ -29,14 +39,14 @@ src_install() {
domenu "${FILESDIR}/${M_PN}".desktop
# Install icons
newicon -s 16 "${FILESDIR}/${M_PN}"-16x16.png "${M_PN}".png
newicon -s 32 "${FILESDIR}/${M_PN}"-32x32.png "${M_PN}".png
newicon -s 48 "${FILESDIR}/${M_PN}"-48x48.png "${M_PN}".png
newicon -s 64 "${FILESDIR}/${M_PN}"-64x64.png "${M_PN}".png
newicon -s 96 "${FILESDIR}/${M_PN}"-96x96.png "${M_PN}".png
newicon -s 128 "${FILESDIR}/${M_PN}"-128x128.png "${M_PN}".png
newicon -s 192 "${FILESDIR}/${M_PN}"-192x192.png "${M_PN}".png
newicon -s 256 "${FILESDIR}/${M_PN}"-256x256.png "${M_PN}".png
newicon -s 16 "${DISTDIR}/${M_PN}"-16x16.png "${M_PN}".png
newicon -s 32 "${DISTDIR}/${M_PN}"-32x32.png "${M_PN}".png
newicon -s 48 "${DISTDIR}/${M_PN}"-48x48.png "${M_PN}".png
newicon -s 64 "${DISTDIR}/${M_PN}"-64x64.png "${M_PN}".png
newicon -s 96 "${DISTDIR}/${M_PN}"-96x96.png "${M_PN}".png
newicon -s 128 "${DISTDIR}/${M_PN}"-128x128.png "${M_PN}".png
newicon -s 192 "${DISTDIR}/${M_PN}"-192x192.png "${M_PN}".png
newicon -s 256 "${DISTDIR}/${M_PN}"-256x256.png "${M_PN}".png
}
pkg_postinst() {