dev-lang/logtalk: use xdg.eclass

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2024-04-13 10:23:15 +03:00
parent 44f0c68260
commit ce5fb5ee2a

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit xdg-utils
inherit xdg
DESCRIPTION="Open source object-oriented logic programming language"
HOMEPAGE="https://logtalk.org"
@@ -98,8 +98,7 @@ src_install() {
}
pkg_postinst() {
xdg_mimeinfo_database_update
xdg_desktop_database_update
xdg_pkg_postinst
ewarn "The following integration scripts are installed"
ewarn "for running logtalk with selected Prolog compilers:"
@@ -126,8 +125,3 @@ pkg_postinst() {
ewarn "the environment now, otherwise it will be updated at next"
ewarn "login."
}
pkg_postrm() {
xdg_mimeinfo_database_update
xdg_desktop_database_update
}