Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-action/binding-of-isaac: Add Humble Bundle version
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DIST binding-of-isaac_20111101_i386.tar.gz 44293346 RMD160 4aaa99e234522219a773092238a7c90503c030fd SHA1 604b51b17ad7a93ac376459e30946cd1af08b90a SHA256 bc34979931a35ed6f92f2ecd7b89a77213a13dfc1102554533b3affc359ad104 | ||
EBUILD binding-of-isaac-20111101.ebuild 945 RMD160 349e97cca2b421fc46fed36a5b0a8f5529a0ed1b SHA1 b492a693f916bfb305b0dc4b6e0da83bc16f279b SHA256 1635ed867f0928d6a1b766069145d561ce660aa9b9c6eec365ffa487bc1a3981 |
46 changes: 46 additions & 0 deletions
46
games-action/binding-of-isaac/binding-of-isaac-20111101.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 1999-2011 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI=3 | ||
|
||
inherit eutils games | ||
|
||
HIBPAGE="http://www.humblebundle.com/" | ||
DESCRIPTION="Twisted Zelda-like action adventure through Isaac's basement" | ||
HOMEPAGE="http://www.bindingofisaac.com/" | ||
SRC_URI="${PN}_${PV}_i386.tar.gz" | ||
|
||
LICENSE="as-is" | ||
SLOT="0" | ||
KEYWORDS="-* ~amd64 ~x86" | ||
IUSE="" | ||
RESTRICT="fetch strip" | ||
|
||
RDEPEND="amd64? ( app-emulation/emul-linux-x86-baselibs | ||
app-emulation/emul-linux-x86-gtklibs ) | ||
x86? ( dev-db/sqlite:3 | ||
net-dns/libidn | ||
x11-libs/gtk+:2 )" | ||
|
||
S="${WORKDIR}" | ||
|
||
pkg_nofetch() { | ||
einfo "Please buy and download ${SRC_URI} from:" | ||
einfo " ${HIBPAGE}" | ||
einfo "Then move it to:" | ||
einfo " ${DISTDIR}" | ||
} | ||
|
||
src_install() { | ||
local dir="${GAMES_PREFIX_OPT}/${PN}" | ||
|
||
exeinto "${dir}" | ||
|
||
doexe isaac | ||
|
||
games_make_wrapper "${PN}" "./isaac" "${dir}" | ||
make_desktop_entry "${PN}" "The Binding of Isaac" | ||
|
||
prepgamesdirs | ||
} |