summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-02-11 06:31:37 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-02-11 06:31:37 +0000
commit2141d85a62f274194da3f78fe2c301e53cd21a77 (patch)
tree4f729f9be982be5930f6b63a3a55eeb34088ff43 /games-puzzle
parentAdd pypy (diff)
downloadgentoo-2-2141d85a62f274194da3f78fe2c301e53cd21a77.tar.gz
gentoo-2-2141d85a62f274194da3f78fe2c301e53cd21a77.tar.bz2
gentoo-2-2141d85a62f274194da3f78fe2c301e53cd21a77.zip
EAPI=5
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/hexamine/ChangeLog8
-rw-r--r--games-puzzle/hexamine/hexamine-0.2.1.ebuild19
2 files changed, 13 insertions, 14 deletions
diff --git a/games-puzzle/hexamine/ChangeLog b/games-puzzle/hexamine/ChangeLog
index 5f5923228896..fde3e9704691 100644
--- a/games-puzzle/hexamine/ChangeLog
+++ b/games-puzzle/hexamine/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/hexamine
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/hexamine/ChangeLog,v 1.4 2010/01/24 23:11:02 ranger Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/hexamine/ChangeLog,v 1.5 2015/02/11 06:31:37 mr_bones_ Exp $
+
+ 11 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org> hexamine-0.2.1.ebuild:
+ EAPI=5
24 Jan 2010; Brent Baude <ranger@gentoo.org> hexamine-0.2.1.ebuild:
keyworded ~arch for ppc, bug 295274
@@ -19,4 +22,3 @@
03 Jul 2006; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+hexamine-0.1.2.ebuild:
initial commit - ebuild submitted by Leszek via bug #137055
-
diff --git a/games-puzzle/hexamine/hexamine-0.2.1.ebuild b/games-puzzle/hexamine/hexamine-0.2.1.ebuild
index ca414ada0b24..131e10f815e7 100644
--- a/games-puzzle/hexamine/hexamine-0.2.1.ebuild
+++ b/games-puzzle/hexamine/hexamine-0.2.1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/hexamine/hexamine-0.2.1.ebuild,v 1.3 2010/01/24 23:11:02 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/hexamine/hexamine-0.2.1.ebuild,v 1.4 2015/02/11 06:31:37 mr_bones_ Exp $
+EAPI=5
inherit games
DESCRIPTION="Hexagonal Minesweeper"
@@ -13,26 +14,22 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
-RDEPEND="media-libs/libsdl
- dev-python/pygame"
+RDEPEND="dev-python/pygame"
S=${WORKDIR}/${PN}
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
# Modify game data directory
sed -i \
-e "s:\`dirname \$0\`:${GAMES_DATADIR}/${PN}:" \
-e "s:\./hexamine:exec python &:" \
- hexamine || die "sed failed"
+ hexamine || die
}
src_install() {
- dogamesbin hexamine || die "dogamesbin failed"
+ dogamesbin hexamine
insinto "${GAMES_DATADIR}/${PN}"
- doins -r hexamine.* skins || die "doins failed"
+ doins -r hexamine.* skins
dodoc ABOUT README
prepgamesdirs
}