commit:     c941720b4bb4f1c4b2897c8defef8fe9e3349e1f
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Mon Oct 21 22:02:22 2019 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Mon Oct 21 22:02:22 2019 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=c941720b

games-puzzle/phlipple: update ebuild

new EAPI, remove old eclass

Package-Manager: Portage-2.3.76, Repoman-2.3.16

 games-puzzle/phlipple/metadata.xml          |  2 +-
 games-puzzle/phlipple/phlipple-0.8.5.ebuild | 18 +++++++++++++-----
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/games-puzzle/phlipple/metadata.xml 
b/games-puzzle/phlipple/metadata.xml
index b888518..18da2d0 100644
--- a/games-puzzle/phlipple/metadata.xml
+++ b/games-puzzle/phlipple/metadata.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<maintainer>
+<maintainer type="person">
 <email>azamat.hacki...@gmail.com</email>
 <name>Azamat H. Hackimov</name>
 </maintainer>

diff --git a/games-puzzle/phlipple/phlipple-0.8.5.ebuild 
b/games-puzzle/phlipple/phlipple-0.8.5.ebuild
index c538001..545c19a 100644
--- a/games-puzzle/phlipple/phlipple-0.8.5.ebuild
+++ b/games-puzzle/phlipple/phlipple-0.8.5.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# $Header: games-puzzle/phlipple/phlipple-0.8.1.ebuild frostwork Exp $
 
-EAPI=5
+EAPI=7
 
-inherit autotools eutils games flag-o-matic
+inherit autotools eutils xdg-utils
 
 DESCRIPTION="An unique puzzle game with the goal to reduce a 3D shape to a 
single square"
 HOMEPAGE="http://phlipple.sourceforge.net/";
@@ -23,7 +22,16 @@ DEPEND="media-libs/libsdl:0
        virtual/glu"
 
 src_prepare() {
+       default
        # fix fails to link on new glibc
-       epatch "${FILESDIR}/${P}_check-math-lib.patch"
+       eapply "${FILESDIR}/${P}_check-math-lib.patch"
        eautoreconf
 }
+
+pkg_postinst() {
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+}

Reply via email to