diff options
Diffstat (limited to 'games-puzzle/hangman')
-rw-r--r-- | games-puzzle/hangman/Manifest | 3 | ||||
-rw-r--r-- | games-puzzle/hangman/hangman-0.9.2-r1.ebuild | 36 | ||||
-rw-r--r-- | games-puzzle/hangman/metadata.xml | 8 |
3 files changed, 47 insertions, 0 deletions
diff --git a/games-puzzle/hangman/Manifest b/games-puzzle/hangman/Manifest new file mode 100644 index 000000000000..aa3651698e14 --- /dev/null +++ b/games-puzzle/hangman/Manifest @@ -0,0 +1,3 @@ +DIST hangman-0.9.2.tar.gz 1023712 BLAKE2B d9d12e02cb48fb80e0cf9c5f9dcb52f57e6305342b41443a791252701758c302bdbfb15dfefcfbbc7c4fc39fe1bfaccd961d1eb3d9a351f937c219ce98c26a26 SHA512 cbf940310b4821cf4de27a99a5228bccf42093a65ca83b0a2582556865ee5cea5a4ee2ebe08d2e02ac93f0cfc8d190b1f5427adbd74e7ddb57b90cee84f85d65 +EBUILD hangman-0.9.2-r1.ebuild 736 BLAKE2B df7383c6bc804a56b9af4df28c2c63bef82acded3ae43acf4f3362bea4ad413b918525987edd6dd16e667db4ddc80aa69291faf5b72d3e15a0b92ae7e35bff6e SHA512 8ed9ba6285e05d5b87a8b3f8613618630c65fcf832f6ce52962cce900d25135d314c4d89d5d53654ff9529c357bb68708a80cdb9be29ac0a50fd18236d378451 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-puzzle/hangman/hangman-0.9.2-r1.ebuild b/games-puzzle/hangman/hangman-0.9.2-r1.ebuild new file mode 100644 index 000000000000..abfc77ca017b --- /dev/null +++ b/games-puzzle/hangman/hangman-0.9.2-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="The classic word guessing game" +HOMEPAGE="http://www.shiftygames.com/hangman/hangman.html" +SRC_URI="http://www.shiftygames.com/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="!games-misc/bsd-games + media-libs/libsdl + media-libs/sdl-mixer + media-libs/sdl-image + media-libs/sdl-ttf" +RDEPEND="${DEPEND} + sys-apps/miscfiles" + +src_prepare() { + default + sed -i \ + -e 's/inline void SE_CheckEvents/void SE_CheckEvents/' \ + src/hangman.c \ + || die "sed failed" +} + +src_install() { + default + newicon pics/noose.png ${PN}.png + make_desktop_entry ${PN} Hangman +} diff --git a/games-puzzle/hangman/metadata.xml b/games-puzzle/hangman/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/hangman/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> |