From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1391695-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 89932158090
	for <garchives@archives.gentoo.org>; Sun,  1 May 2022 13:17:02 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A6A5AE09CA;
	Sun,  1 May 2022 13:17:01 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5DD4BE09CA
	for <gentoo-commits@lists.gentoo.org>; Sun,  1 May 2022 13:17:01 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 07B66341248
	for <gentoo-commits@lists.gentoo.org>; Sun,  1 May 2022 13:17:00 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2DF06105
	for <gentoo-commits@lists.gentoo.org>; Sun,  1 May 2022 13:16:58 +0000 (UTC)
From: "Pascal Jäger" <pascal.jaeger@leimstift.de>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Pascal Jäger" <pascal.jaeger@leimstift.de>
Message-ID: <1651410963.302c55bbfaac24037f70f8a40e985f296d73ab70.pascal.jaeger@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-misc/an-anime-game-launcher-bin/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.1.ebuild
X-VCS-Directories: games-misc/an-anime-game-launcher-bin/
X-VCS-Committer: pascal.jaeger
X-VCS-Committer-Name: Pascal Jäger
X-VCS-Revision: 302c55bbfaac24037f70f8a40e985f296d73ab70
X-VCS-Branch: dev
Date: Sun,  1 May 2022 13:16:58 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 410aa084-1aa0-4546-b13e-ebaa4e5e580e
X-Archives-Hash: b7b308ad405f596ff5d47195e4e89a54

commit:     302c55bbfaac24037f70f8a40e985f296d73ab70
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Sun May  1 13:16:03 2022 +0000
Commit:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Sun May  1 13:16:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=302c55bb

games-misc/an-anime-game-launcher-bin: did an oopsie

Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>

 .../an-anime-game-launcher-bin-2.3.1.ebuild                   | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

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
index 0b3c56344..d26efcf26 100644
--- 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
@@ -4,6 +4,8 @@
 
 EAPI=8
 
+inherit xdg-utils
+
 DESCRIPTION="Open Source An Anime Game launcher for Linux with automatic anti-cheat patching and telemetry disabling"
 HOMEPAGE="https://gitlab.com/an-anime-team/an-anime-game-launcher"
 SRC_URI="https://gitlab.com/an-anime-team/aagl-ebuilds/-/archive/${PV}/aagl-ebuilds-${PV}.tar.gz"
@@ -46,7 +48,7 @@ src_prepare(){
 }
 
 src_install(){
-	dodir "/usr/lib/${PN}"
+	insinto "/usr/lib/${PN}"
 	einfo "Inserting Launcher Files"
 	doins -r "squashfs-root/resources.neu"
 	einfo "Inserting Launcher Binary"
@@ -69,3 +71,10 @@ src_install(){
 	einfo "Setting Read Permissions for Launcher Files"
 	chmod -R 775 "${D}/usr/lib/${PN}/public"
 }
+
+pkg_postinst() {
+	xdg_desktop_database_update
+}
+pkg_postrm() {
+	xdg_desktop_database_update
+}