commit:     6f865a38c3e7026f01a7a3f1d896adf085cffa6c
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 13 22:24:52 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Apr 13 22:44:13 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f865a38

games-engines/scummvm: Fix xdg.eclass usage

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 games-engines/scummvm/scummvm-2.0.0-r1.ebuild | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/games-engines/scummvm/scummvm-2.0.0-r1.ebuild 
b/games-engines/scummvm/scummvm-2.0.0-r1.ebuild
index 858b3bcc36b..100cda36687 100644
--- a/games-engines/scummvm/scummvm-2.0.0-r1.ebuild
+++ b/games-engines/scummvm/scummvm-2.0.0-r1.ebuild
@@ -43,7 +43,7 @@ S="${WORKDIR}/${P/_/}"
 PATCHES=( "${FILESDIR}/${PN}-2.0.0-freetype_pkgconfig.patch" )
 
 src_prepare() {
-       default
+       xdg_src_prepare
 
        # -g isn't needed for nasm here
        sed -i \
@@ -96,15 +96,3 @@ src_install() {
        default
        doicon -s scalable icons/scummvm.svg
 }
-
-pkg_preinst() {
-       xdg_pkg_preinst
-}
-
-pkg_postinst() {
-       xdg_pkg_postinst
-}
-
-pkg_postrm() {
-       xdg_pkg_postrm
-}

Reply via email to