ChangeLog

# ChangeLog for games-arcade/berusky
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/berusky/ChangeLog,v 1.1 2007/08/28 15:31:36 tupone Exp $

*berusky-1.1 (28 Aug 2007)

28 Aug 2007; Tupone Alfredo
+files/berusky-1.1-gentoo.patch, +metadata.xml, +berusky-1.1.ebuild:
New package, requested via bug #180372 by Matija Suklje

Manifest

AUX berusky-1.1-gentoo.patch 2013 RMD160 c285babe9faabe146396fb79a0b665ef2cbb4e10 SHA1 0d7406bc931e824f0bdda08969ce98c9c3feca9d SHA256 8aeda3d49e08e72658ce91438b20ffe2c11dc992ec8a8bf11083eafe2454cc4a
DIST berusky-1.1.tar.gz 408954 RMD160 f14c5543a22412f83423005e984a19ab2599187c SHA1 b7bc5dc63fb032ccb177d92cdd5c453f8a1a1fa9 SHA256 8c38d0309af2d007bf2c1486e63680cc93f5ca2b35b7806807d36cbadeada51f
DIST berusky-data-1.0.tar.gz 957658 RMD160 f789cc80a4a8ad5062a999722721fe3f6c295501 SHA1 58e21ceabc236d2d2d36b95736d6df84fbf25ec2 SHA256 72469d6c2869d6220f5ffb058fe59a27657478a9a37a5aeec76fab15eeeb05ed
EBUILD berusky-1.1.ebuild 1256 RMD160 7bb1cd2b181757fcb17ac6c7be63eda31c5acc8d SHA1 8540f0b5dad05c47d578d5c1d2849dad786f19ee SHA256 6a2ab26687200aaca66d3be69ae45ef81b13f442b18bc5413a81b9ac69210274
MISC ChangeLog 421 RMD160 dc0a459849858d9345aa2059a2a3b0e8434df138 SHA1 d3cd96f423256ccea9123a8325755d7b8ddf8785 SHA256 6af5aeb73603319ee5b66d8d4494554678ed97a03212eb1f303fc2c47bfbe316
MISC metadata.xml 672 RMD160 881c23613d95891df91c18a64ee229e90d0f3002 SHA1 a3940bb29e131406381d38ed5faad4378e1f2867 SHA256 97661c874a1e9c0afac821eec64bf4cb0f3f1d48894231c66cfc346da4f5e4c4

berusky-1.1.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/berusky/berusky-1.1.ebuild,v 1.2 2007/08/28 16:50:17 mr_bones_ Exp $

inherit autotools eutils games

DATAFILE=${PN}-data-1.0
DESCRIPTION="free logic game based on an ancient puzzle named Sokoban."
HOMEPAGE="http://www.anakreon.cz/en/Berusky.htm"
SRC_URI="http://www.anakreon.cz/download/${PN}/tar.gz/${P}.tar.gz
http://www.anakreon.cz/download/${PN}/tar.gz/${DATAFILE}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="media-libs/libsdl"

src_unpack() {
unpack ${A}
cd "${S}"
mv ../${DATAFILE}/{berusky.ini,GameData,Graphics,Levels} . \
|| die "failed moving data"
epatch "${FILESDIR}"/${P}-gentoo.patch
sed -i \
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
-e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \
src/defines.h berusky.ini \
|| die "sed for patching path failed"
eautoreconf
}

src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog README TODO
insinto "${GAMES_DATADIR}"/${PN}
doins -r berusky.ini GameData Graphics Levels \
|| die "failed installing data"
make_desktop_entry ${PN}
prepgamesdirs
}

files

metadata.xml




games

Berusky is a free logic game, published under GNU Public License and it's based
on an ancient puzzle named Sokoban.

An old idea of moving boxes in a maze has been expanded with new logic items
such as explosives, stones, special gates and so on. In addition, up to five
bugs can cooperate and be controlled by the player.

In order to leave each level (there's about 120 levels in the game) it is
necessary to own five keys and also to have a free way to the exit.