summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2007-08-28 15:31:36 +0000
committerAlfredo Tupone <tupone@gentoo.org>2007-08-28 15:31:36 +0000
commit5b577c50263dd5090f85d86a518126678ce1fce6 (patch)
treeb4e086805f6e87882e23686f5bd4bdce16be0f11 /games-arcade/berusky
parentPlayback is screwed on ppc, so explicitly mark as -ppc. (diff)
downloadgentoo-2-5b577c50263dd5090f85d86a518126678ce1fce6.tar.gz
gentoo-2-5b577c50263dd5090f85d86a518126678ce1fce6.tar.bz2
gentoo-2-5b577c50263dd5090f85d86a518126678ce1fce6.zip
New package, requested via bug #180372
(Portage version: 2.1.2.12)
Diffstat (limited to 'games-arcade/berusky')
-rw-r--r--games-arcade/berusky/ChangeLog10
-rw-r--r--games-arcade/berusky/Manifest21
-rw-r--r--games-arcade/berusky/berusky-1.1.ebuild41
-rw-r--r--games-arcade/berusky/files/berusky-1.1-gentoo.patch70
-rw-r--r--games-arcade/berusky/files/digest-berusky-1.16
-rw-r--r--games-arcade/berusky/metadata.xml16
6 files changed, 164 insertions, 0 deletions
diff --git a/games-arcade/berusky/ChangeLog b/games-arcade/berusky/ChangeLog
new file mode 100644
index 000000000000..d0204119f783
--- /dev/null
+++ b/games-arcade/berusky/ChangeLog
@@ -0,0 +1,10 @@
+# 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 <tupone@gentoo.org>
+ +files/berusky-1.1-gentoo.patch, +metadata.xml, +berusky-1.1.ebuild:
+ New package, requested via bug #180372 by Matija Suklje
+
diff --git a/games-arcade/berusky/Manifest b/games-arcade/berusky/Manifest
new file mode 100644
index 000000000000..19d4d552e5e7
--- /dev/null
+++ b/games-arcade/berusky/Manifest
@@ -0,0 +1,21 @@
+AUX berusky-1.1-gentoo.patch 2013 RMD160 c285babe9faabe146396fb79a0b665ef2cbb4e10 SHA1 0d7406bc931e824f0bdda08969ce98c9c3feca9d SHA256 8aeda3d49e08e72658ce91438b20ffe2c11dc992ec8a8bf11083eafe2454cc4a
+MD5 6138e142737999c3bef941c352cc9392 files/berusky-1.1-gentoo.patch 2013
+RMD160 c285babe9faabe146396fb79a0b665ef2cbb4e10 files/berusky-1.1-gentoo.patch 2013
+SHA256 8aeda3d49e08e72658ce91438b20ffe2c11dc992ec8a8bf11083eafe2454cc4a files/berusky-1.1-gentoo.patch 2013
+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 1148 RMD160 097b9c014f952fac54ae8f6e001220a7a3f555e8 SHA1 e1fcfda09f9acf2ff5ba9db58ba92d14167df9f0 SHA256 6b6e821fec693c9175a182c6b367cb8c51146b4a7a4faac94926c1fc02338500
+MD5 3a2d04c5aa9ea87c98a80d6c4c19e1f4 berusky-1.1.ebuild 1148
+RMD160 097b9c014f952fac54ae8f6e001220a7a3f555e8 berusky-1.1.ebuild 1148
+SHA256 6b6e821fec693c9175a182c6b367cb8c51146b4a7a4faac94926c1fc02338500 berusky-1.1.ebuild 1148
+MISC ChangeLog 329 RMD160 b84d30ccfbfc053a9d85a2f0d4e7f2460959f67a SHA1 85a106fc316747e9e2a03a0f39fb68fb3d814bc9 SHA256 05db7f2eefec337da6d5b92a34e43cd72f85eff2347779615bcb61fe9017c303
+MD5 a31c7bb98114be40bd7d36b55ed99282 ChangeLog 329
+RMD160 b84d30ccfbfc053a9d85a2f0d4e7f2460959f67a ChangeLog 329
+SHA256 05db7f2eefec337da6d5b92a34e43cd72f85eff2347779615bcb61fe9017c303 ChangeLog 329
+MISC metadata.xml 672 RMD160 881c23613d95891df91c18a64ee229e90d0f3002 SHA1 a3940bb29e131406381d38ed5faad4378e1f2867 SHA256 97661c874a1e9c0afac821eec64bf4cb0f3f1d48894231c66cfc346da4f5e4c4
+MD5 c9552c929cb92f48f8c9f7eb3ebb65de metadata.xml 672
+RMD160 881c23613d95891df91c18a64ee229e90d0f3002 metadata.xml 672
+SHA256 97661c874a1e9c0afac821eec64bf4cb0f3f1d48894231c66cfc346da4f5e4c4 metadata.xml 672
+MD5 21352ed13f75ec84abbc4e17b323d5a0 files/digest-berusky-1.1 485
+RMD160 0157c80aa550ac1a636c91f2eaa9048d92ebf0d5 files/digest-berusky-1.1 485
+SHA256 b4b9035faf366407f5895af65ab199112c24bb16a95a9d2034b7601a968a56bc files/digest-berusky-1.1 485
diff --git a/games-arcade/berusky/berusky-1.1.ebuild b/games-arcade/berusky/berusky-1.1.ebuild
new file mode 100644
index 000000000000..6b26631758d2
--- /dev/null
+++ b/games-arcade/berusky/berusky-1.1.ebuild
@@ -0,0 +1,41 @@
+# 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.1 2007/08/28 15:31:36 tupone 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"
+IUSE=""
+
+DEPEND="media-libs/libsdl"
+RDEPEND=""
+
+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
+}
diff --git a/games-arcade/berusky/files/berusky-1.1-gentoo.patch b/games-arcade/berusky/files/berusky-1.1-gentoo.patch
new file mode 100644
index 000000000000..7a502142d496
--- /dev/null
+++ b/games-arcade/berusky/files/berusky-1.1-gentoo.patch
@@ -0,0 +1,70 @@
+--- src/defines.h.old 2007-08-28 15:40:15.000000000 +0200
++++ src/defines.h 2007-08-28 15:41:24.000000000 +0200
+@@ -382,7 +382,7 @@
+
+ #define INI_USER_DIRECTORY "~/.berusky"
+ #define INI_USER_LEVELS "~/.berusky/User"
+-#define INI_FILE_GLOBAL "/var/games/berusky/berusky.ini"
++#define INI_FILE_GLOBAL "@GENTOO_DATADIR@/berusky.ini"
+ #define INI_FILE_USER "~/.berusky/berusky.ini"
+ #define INI_FILE_LOCAL "./berusky.ini"
+
+--- berusky.ini.old 2007-08-28 15:57:56.000000000 +0200
++++ berusky.ini 2007-08-28 15:59:07.000000000 +0200
+@@ -1,9 +1,9 @@
+ # Configuration for berusky game
+
+ # Game data location
+-level_data = /usr/share/berusky/Levels
+-game_data = /usr/share/berusky/GameData
+-graphics_data = /usr/share/berusky/Graphics
++level_data = @GENTOO_DATADIR@/Levels
++game_data = @GENTOO_DATADIR@/GameData
++graphics_data = @GENTOO_DATADIR@/Graphics
+
+ # Graphics settings for game and editor
+ # game runs in 640x480
+@@ -17,7 +17,7 @@
+
+ # Game binary & tmp dir
+ # they're used by editor for "run level" command
+-game_binary = /usr/bin/berusky
++game_binary = @GENTOO_BINDIR@/berusky
+ tmp_data = /var/tmp
+
+ # Dir for users levels (it's the default level dir for level editor)
+--- Makefile.am.old 2007-08-28 17:12:18.000000000 +0200
++++ Makefile.am 2007-08-28 17:12:52.000000000 +0200
+@@ -5,8 +5,7 @@
+
+ SUBDIRS = po src data
+
+-beruskydocdir = ${prefix}/doc/berusky
+-beruskydoc_DATA = \
++EXTRA_DIST = \
+ README\
+ COPYING\
+ AUTHORS\
+@@ -15,8 +14,6 @@
+ NEWS\
+ TODO
+
+-EXTRA_DIST = $(beruskydoc_DATA)
+-
+
+
+ # Copy all the spec files. Of cource, only one is actually used.
+--- data/Makefile.am.old 2007-08-28 17:22:45.000000000 +0200
++++ data/Makefile.am 2007-08-28 17:23:09.000000000 +0200
+@@ -4,10 +4,6 @@
+ ## If you don't want it to overwrite it,
+ ## Please disable it in the Anjuta project configuration
+
+-berusky_datadir = $(prefix)/@NO_PREFIX_PACKAGE_DATA_DIR@/@PACKAGE@
+-
+-berusky_data_DATA = \
++EXTRA_DIST = \
+ berusky-data.spec\
+ berusky.spec
+-
+-EXTRA_DIST = $(berusky_data_DATA)
diff --git a/games-arcade/berusky/files/digest-berusky-1.1 b/games-arcade/berusky/files/digest-berusky-1.1
new file mode 100644
index 000000000000..90700ccbedd3
--- /dev/null
+++ b/games-arcade/berusky/files/digest-berusky-1.1
@@ -0,0 +1,6 @@
+MD5 bb0a03a9fde970124a2674943775c117 berusky-1.1.tar.gz 408954
+RMD160 f14c5543a22412f83423005e984a19ab2599187c berusky-1.1.tar.gz 408954
+SHA256 8c38d0309af2d007bf2c1486e63680cc93f5ca2b35b7806807d36cbadeada51f berusky-1.1.tar.gz 408954
+MD5 25d4258481bd315eadccecb098c06f70 berusky-data-1.0.tar.gz 957658
+RMD160 f789cc80a4a8ad5062a999722721fe3f6c295501 berusky-data-1.0.tar.gz 957658
+SHA256 72469d6c2869d6220f5ffb058fe59a27657478a9a37a5aeec76fab15eeeb05ed berusky-data-1.0.tar.gz 957658
diff --git a/games-arcade/berusky/metadata.xml b/games-arcade/berusky/metadata.xml
new file mode 100644
index 000000000000..2dc670913f47
--- /dev/null
+++ b/games-arcade/berusky/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription lang="en">
+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.
+</longdescription>
+</pkgmetadata>