commit:     d5703266f1661a82cdcf34a43feda4ea4599dbaf
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu Jul  7 23:07:29 2016 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Thu Jul  7 23:07:29 2016 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=d5703266

games-engines/ags: bump to 3.3.5.7

EAPI 6, new QA policy about games

Package-Manager: portage-2.2.28
Manifest-Sign-Key: A018DE8C

 .../ags/{ags-3.3.0_p2.ebuild => ags-3.3.5.7.ebuild}  | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/games-engines/ags/ags-3.3.0_p2.ebuild 
b/games-engines/ags/ags-3.3.5.7.ebuild
similarity index 68%
rename from games-engines/ags/ags-3.3.0_p2.ebuild
rename to games-engines/ags/ags-3.3.5.7.ebuild
index e1d7a2e..ba02414 100644
--- a/games-engines/ags/ags-3.3.0_p2.ebuild
+++ b/games-engines/ags/ags-3.3.5.7.ebuild
@@ -1,16 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Id$
 
-EAPI=5
-
-inherit games
-
-MY_PV=${PV/_p/-hotfix}
+EAPI=6
 
 DESCRIPTION="A game/runtime interpreter for the Adventure Game Studio engine"
-HOMEPAGE="http://www.adventuregamestudio.co.uk/";
-SRC_URI="https://github.com/adventuregamestudio/ags/archive/v.${MY_PV}.tar.gz 
-> ${PN}-v.${MY_PV}.tar.gz"
+HOMEPAGE="http://www.adventuregamestudio.co.uk/ 
http://www.adventuregamestudio.co.uk/";
+SRC_URI="https://github.com/adventuregamestudio/ags/releases/download/v.${PV}/${PN}_linux_v.${PV}.tar.xz";
 
 LICENSE="Artistic-2"
 SLOT="0"
@@ -27,9 +23,10 @@ DEPEND="
        media-libs/libvorbis"
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}/${PN}-v.${MY_PV}"
+S="${WORKDIR}/${PN}_linux_v.${PV}"
 
 src_prepare() {
+       eapply_user
        sed -i -e "s:-O2 -g -fsigned-char::" Engine/Makefile-defs.linux \
                || die
 }
@@ -39,7 +36,7 @@ src_compile() {
 }
 
 src_install() {
-       dogamesbin Engine/ags
+       dobin Engine/ags
        dodoc README.md
 }
 
@@ -48,5 +45,4 @@ pkg_postinst() {
        ewarn "    ${PN} /path/to/gamedir"
        ewarn "or"
        ewarn "    ${PN} /path/to/game.exe"
-       games_pkg_postinst
 }

Reply via email to