From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- games-puzzle/hexamine/Manifest | 3 ++ games-puzzle/hexamine/hexamine-0.2.1-r1.ebuild | 42 ++++++++++++++++++++++++++ games-puzzle/hexamine/metadata.xml | 11 +++++++ 3 files changed, 56 insertions(+) create mode 100644 games-puzzle/hexamine/Manifest create mode 100644 games-puzzle/hexamine/hexamine-0.2.1-r1.ebuild create mode 100644 games-puzzle/hexamine/metadata.xml (limited to 'games-puzzle/hexamine') diff --git a/games-puzzle/hexamine/Manifest b/games-puzzle/hexamine/Manifest new file mode 100644 index 000000000000..ac8b8fd309e6 --- /dev/null +++ b/games-puzzle/hexamine/Manifest @@ -0,0 +1,3 @@ +DIST hexamine-0.2.1.tar.gz 130603 BLAKE2B e49b60e78346d59f5d0bf60f8aaa3f1230e87e6e76052c49197984df695cb4aacf947a2b5855f0388ed62f59fa04e47853f2c36583c38c9249100910eb5b5ff7 SHA512 eaf7c110f1c2434c2ea7bc01cc13266ed8e91cbbf0fff4ee8d8a78c549f9fd3f8d877210f574ba1cefad5a6ea230f376aab7d9ced6a4e2f477b6be776332a640 +EBUILD hexamine-0.2.1-r1.ebuild 807 BLAKE2B 43c3d0be8faf714bd021d6505b020eb75d337753005c78865f381716795fbdaac28e73436834cab63a1981bb2311028cb0b3b4e28b83188fff84d2ea8790a57f SHA512 cdcc4a822d89da500a130542bb2582db91d15159a457bc55e158ec326e27367aa0f2eb6ce1762b2047e4587b7157660b43bae6175c2fcd1fad40361d70550c06 +MISC metadata.xml 331 BLAKE2B f3ccbece9bcd1b9fe00383805f636401bb5b3bd10d2e1a2d5564182aebfe2a7e6614e3366ddf28e90ba5a62725d78dc08d1072c65c07ec3bc4ab5761bd2d2f39 SHA512 452f03abf92762a26c6492a3823b4fb3957abd627ec039daa73bb90c14079b71f0b79ce5af0548e3290c74275f5bf02ff264655cff6bb72a607e258a32e36bde diff --git a/games-puzzle/hexamine/hexamine-0.2.1-r1.ebuild b/games-puzzle/hexamine/hexamine-0.2.1-r1.ebuild new file mode 100644 index 000000000000..67529d0521a4 --- /dev/null +++ b/games-puzzle/hexamine/hexamine-0.2.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit desktop python-single-r1 + +DESCRIPTION="Hexagonal Minesweeper" +HOMEPAGE="https://sourceforge.net/projects/hexamine" +SRC_URI="mirror://sourceforge/hexamine/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/pygame +" +DEPEND="" + +S="${WORKDIR}/${PN}" + +src_prepare() { + default + # Modify game data directory + sed -i \ + -e "s:\`dirname \$0\`:/usr/share/${PN}:" \ + -e "s:\./hexamine:exec ${EPYTHON} &:" \ + hexamine || die +} + +src_install() { + dobin hexamine + insinto "/usr/share/${PN}" + doins -r hexamine.* skins + einstalldocs + make_desktop_entry ${PN} "Hexamine" +} diff --git a/games-puzzle/hexamine/metadata.xml b/games-puzzle/hexamine/metadata.xml new file mode 100644 index 000000000000..eaf56d416367 --- /dev/null +++ b/games-puzzle/hexamine/metadata.xml @@ -0,0 +1,11 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + hexamine + + -- cgit v1.2.3