Gentoo Archives: gentoo-commits

From: "Pascal Jäger" <pascal.jaeger@×××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-misc/an-anime-game-launcher-bin/
Date: Sun, 01 May 2022 13:17:02
Message-Id: 1651410963.302c55bbfaac24037f70f8a40e985f296d73ab70.pascal.jaeger@gentoo
1 commit: 302c55bbfaac24037f70f8a40e985f296d73ab70
2 Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
3 AuthorDate: Sun May 1 13:16:03 2022 +0000
4 Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
5 CommitDate: Sun May 1 13:16:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=302c55bb
7
8 games-misc/an-anime-game-launcher-bin: did an oopsie
9
10 Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
11
12 .../an-anime-game-launcher-bin-2.3.1.ebuild | 11 ++++++++++-
13 1 file changed, 10 insertions(+), 1 deletion(-)
14
15 diff --git a/games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.1.ebuild b/games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.1.ebuild
16 index 0b3c56344..d26efcf26 100644
17 --- a/games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.1.ebuild
18 +++ b/games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.1.ebuild
19 @@ -4,6 +4,8 @@
20
21 EAPI=8
22
23 +inherit xdg-utils
24 +
25 DESCRIPTION="Open Source An Anime Game launcher for Linux with automatic anti-cheat patching and telemetry disabling"
26 HOMEPAGE="https://gitlab.com/an-anime-team/an-anime-game-launcher"
27 SRC_URI="https://gitlab.com/an-anime-team/aagl-ebuilds/-/archive/${PV}/aagl-ebuilds-${PV}.tar.gz"
28 @@ -46,7 +48,7 @@ src_prepare(){
29 }
30
31 src_install(){
32 - dodir "/usr/lib/${PN}"
33 + insinto "/usr/lib/${PN}"
34 einfo "Inserting Launcher Files"
35 doins -r "squashfs-root/resources.neu"
36 einfo "Inserting Launcher Binary"
37 @@ -69,3 +71,10 @@ src_install(){
38 einfo "Setting Read Permissions for Launcher Files"
39 chmod -R 775 "${D}/usr/lib/${PN}/public"
40 }
41 +
42 +pkg_postinst() {
43 + xdg_desktop_database_update
44 +}
45 +pkg_postrm() {
46 + xdg_desktop_database_update
47 +}