* [gentoo-commits] proj/gamerlay:master commit in: games-arcade/edgar/
@ 2020-02-29 1:15 Azamat H. Hackimov
0 siblings, 0 replies; only message in thread
From: Azamat H. Hackimov @ 2020-02-29 1:15 UTC (permalink / raw
To: gentoo-commits
commit: 4bd9e37d0c595ae9138ee4ed0e469f1b2a27668b
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri Feb 28 23:57:32 2020 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Fri Feb 28 23:57:32 2020 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=4bd9e37d
games-arcade/edgar: update package
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
games-arcade/edgar/edgar-0.25.ebuild | 37 ------------------------------------
games-arcade/edgar/edgar-1.32.ebuild | 37 ++++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 37 deletions(-)
diff --git a/games-arcade/edgar/edgar-0.25.ebuild b/games-arcade/edgar/edgar-0.25.ebuild
deleted file mode 100644
index 09f2bc6..0000000
--- a/games-arcade/edgar/edgar-0.25.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/edgar/edgar-0.25.ebuild,v 1.1 2008/09/02 13:31:40 frostwork Exp $
-
-EAPI="2"
-
-inherit games
-
-DESCRIPTION="The Legend of Edgar, 2d jump n run"
-HOMEPAGE="http://www.parallelrealities.co.uk/projects/edgar.php"
-SRC_URI="http://www.parallelrealities.co.uk/download/8322c274/${PN}/${PN}-${PV}-1.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="media-libs/libsdl
- media-libs/sdl-mixer
- media-libs/sdl-image
- media-libs/sdl-ttf"
-DEPEND="${RDEPEND}"
-
-src_prepare(){
- sed -i -e "s:\$(PREFIX)/games/:\$(PREFIX)/games/bin/:g" -i makefile
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc doc/* || die "dodoc failed"
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
-}
diff --git a/games-arcade/edgar/edgar-1.32.ebuild b/games-arcade/edgar/edgar-1.32.ebuild
new file mode 100644
index 0000000..0b687a4
--- /dev/null
+++ b/games-arcade/edgar/edgar-1.32.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="The Legend of Edgar, 2d jump n run"
+HOMEPAGE="http://www.parallelrealities.co.uk/projects/edgar.php"
+SRC_URI="https://github.com/riksweeney/edgar/releases/download/${PV}/${P}-1.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ media-libs/libsdl2
+ media-libs/sdl2-mixer
+ media-libs/sdl2-image[png]
+ media-libs/sdl2-ttf
+ sys-libs/zlib:=
+ "
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \
+ BIN_DIR="/usr/bin/" DATA_DIR="/usr/share/${PN}/" \
+ || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" BIN_DIR="${D}/usr/bin/" \
+ DATA_DIR="${D}/usr/share/${PN}/" DOC_DIR="${D}/usr/share/doc/${P}/" \
+ APPDATA_DIR="${D}/usr/share/metainfo/" install \
+ || die "emake install failed"
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-29 1:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-29 1:15 [gentoo-commits] proj/gamerlay:master commit in: games-arcade/edgar/ Azamat H. Hackimov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox