commit:     7cc86a88f9fcc2b2b38239d0fb4c2e26b4702c6a
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu Nov 15 21:18:37 2018 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Thu Nov 15 21:18:37 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=7cc86a88

games-simulation/babylon5-ifh-dao: Renew ebuild

Hello, my old friend...

Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../babylon5-ifh-dao/babylon5-ifh-dao-1.15.ebuild       | 17 +++++++----------
 games-simulation/babylon5-ifh-dao/metadata.xml          |  3 +--
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/games-simulation/babylon5-ifh-dao/babylon5-ifh-dao-1.15.ebuild 
b/games-simulation/babylon5-ifh-dao/babylon5-ifh-dao-1.15.ebuild
index 0372033..e661419 100644
--- a/games-simulation/babylon5-ifh-dao/babylon5-ifh-dao-1.15.ebuild
+++ b/games-simulation/babylon5-ifh-dao/babylon5-ifh-dao-1.15.ebuild
@@ -1,17 +1,16 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
 
-EAPI=3
+EAPI=6
 
-inherit games
+inherit eutils
 
 MY_PV=${PV/./}
 DESCRIPTION="Danger and Opportunity - a prequel for Babylon 5: I've Found Her"
 HOMEPAGE="http://ifhgame.ru/main/dao-home";
 SRC_URI="http://www.b5.ru/ifh/ifh${MY_PV}.tar.gz";
 
-LICENSE="as-is"
+LICENSE="HPND"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 IUSE=""
@@ -20,10 +19,10 @@ RDEPEND="virtual/opengl
        x11-libs/libX11"
 DEPEND="${DEPEND}"
 
-S="${WORKDIR}"/ifh
+S="${WORKDIR}/ifh"
 
 src_install() {
-       local dir=${GAMES_PREFIX_OPT}/ifh
+       local dir=/opt/ifh
        if use amd64; then
                local exefile=coreifh64
                local fmodex=libfmodex64.so
@@ -42,7 +41,5 @@ src_install() {
        fperms 770 "${dir}"/data/pilots
        exeinto "${dir}"/bin
        doexe bin/{${exefile},${fmodex}} || die "doexe failes"
-       games_make_wrapper ${PN} ./${exefile} "${dir}/bin" "${dir}/bin"
-
-       prepgamesdirs
+       make_wrapper ${PN} ./${exefile} "${dir}/bin" "${dir}/bin"
 }

diff --git a/games-simulation/babylon5-ifh-dao/metadata.xml 
b/games-simulation/babylon5-ifh-dao/metadata.xml
index d523069..b89738d 100644
--- a/games-simulation/babylon5-ifh-dao/metadata.xml
+++ b/games-simulation/babylon5-ifh-dao/metadata.xml
@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<herd>gamerlay</herd>
-<maintainer>
+<maintainer type="person">
 <email>azamat.hacki...@gmail.com</email>
 <name>Azamat H. Hackimov</name>
 </maintainer>

Reply via email to