Update heroic-bin from 3.2.5_1 to 3.2.8_1 & add launcher app icons.

This commit is contained in:
KF-Art 2022-06-13 15:58:52 -04:00
parent 65f8453e09
commit d2afbaf8f0
7 changed files with 7 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 868 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

View file

@ -1,6 +1,6 @@
# Template file for 'heroic-bin' # Template file for 'heroic-bin'
pkgname=heroic-bin pkgname=heroic-bin
version=2.3.5 version=2.3.8
revision=1 revision=1
nostrip=yes nostrip=yes
archs="x86_64" archs="x86_64"
@ -15,13 +15,18 @@ license="GPL-3.0"
homepage="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher" homepage="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"
changelog="${homepage}/releases/tag/v${version}" changelog="${homepage}/releases/tag/v${version}"
distfiles="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${version}/heroic-${version}.tar.xz" distfiles="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${version}/heroic-${version}.tar.xz"
checksum=0d34686cb4ab9b88da338fc7423a42ffcf60421f26114fa59c34d6e76a25b2a9 checksum=cdd700568319a14511e2331d319f58b137d71f8c8d2710475d387e2052cf8260
do_install() { do_install() {
for dir in opt usr/{bin,share/applications}; do for dir in opt usr/{bin,share/applications}; do
vmkdir ${dir} vmkdir ${dir}
done done
for res in 16 32 48 64 128 256; do
vinstall ${FILESDIR}/icons/${res}x${res}.png 0644 \
usr/share/icons/hicolor/${res}x${res}/apps heroic.png
done
bsdtar -xf heroic-${version}.tar.xz -C "${DESTDIR}/opt/" bsdtar -xf heroic-${version}.tar.xz -C "${DESTDIR}/opt/"
ln -s /opt/heroic-${version}/heroic "${DESTDIR}/usr/bin/heroic" ln -s /opt/heroic-${version}/heroic "${DESTDIR}/usr/bin/heroic"
vcopy "${FILESDIR}/heroic.desktop" usr/share/applications/ vcopy "${FILESDIR}/heroic.desktop" usr/share/applications/