summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-25 19:12:37 +0000
committerSam James <sam@gentoo.org>2021-04-25 19:13:32 +0000
commit689665a811a72189bcb6ea55363097db738c9810 (patch)
treec9e724159980bb8c8154fb264092d8d76351074d /games-arcade/berusky/berusky-1.7.1-r2.ebuild
parentgames-fps/darkplaces: fix pre-stripped files, respecting CC (diff)
downloadgentoo-689665a811a72189bcb6ea55363097db738c9810.tar.gz
gentoo-689665a811a72189bcb6ea55363097db738c9810.tar.bz2
gentoo-689665a811a72189bcb6ea55363097db738c9810.zip
games-arcade/berusky: install data files again
This was lost a few years ago in the games.eclass porting. Only now did somebody notice! Closes: https://bugs.gentoo.org/785259 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-arcade/berusky/berusky-1.7.1-r2.ebuild')
-rw-r--r--games-arcade/berusky/berusky-1.7.1-r2.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/games-arcade/berusky/berusky-1.7.1-r2.ebuild b/games-arcade/berusky/berusky-1.7.1-r2.ebuild
new file mode 100644
index 000000000000..66d347e826c9
--- /dev/null
+++ b/games-arcade/berusky/berusky-1.7.1-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop gnome2
+
+DATAFILE="${PN}-data-1.7"
+DESCRIPTION="Free logic game based on an ancient puzzle named Sokoban"
+HOMEPAGE="https://anakreon.cz/?q=node/1"
+SRC_URI="https://www.anakreon.cz/download/${P}.tar.gz
+ https://www.anakreon.cz/download/${DATAFILE}.tar.gz
+ https://dev.gentoo.org/~hasufell/distfiles/${PN}.png"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ media-libs/libsdl[X,video]
+ media-libs/sdl-image[png]
+ x11-libs/gtk+:2
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.7.1-r1-gentoo.patch
+)
+
+src_prepare() {
+ mv ../${DATAFILE}/{berusky.ini,GameData,Graphics,Levels} . || die
+
+ default
+}
+
+src_install() {
+ gnome2_src_install
+
+ rm -rf "${ED}"/usr/doc || die
+
+ insinto /usr/share/${PN}
+ doins -r GameData Graphics Levels
+
+ insinto /var/lib/${PN}
+ doins berusky.ini
+
+ doicon -s 32 "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN}
+}