diff options
Diffstat (limited to 'games-arcade/defendguin')
-rw-r--r-- | games-arcade/defendguin/Manifest | 3 | ||||
-rw-r--r-- | games-arcade/defendguin/defendguin-0.0.12-r1.ebuild | 41 | ||||
-rw-r--r-- | games-arcade/defendguin/metadata.xml | 8 |
3 files changed, 52 insertions, 0 deletions
diff --git a/games-arcade/defendguin/Manifest b/games-arcade/defendguin/Manifest new file mode 100644 index 000000000000..9b957608744e --- /dev/null +++ b/games-arcade/defendguin/Manifest @@ -0,0 +1,3 @@ +DIST defendguin-0.0.12.tar.gz 2235694 BLAKE2B 4e694edb5a8e51948e343da8ba4555062505c1c7f2563e291cc4f421624b791630dec7b0c7ce08df0ca0db40070418cd67f750fbe525ef1b1d1577951a5224bd SHA512 3a62c7ac62b016eeb6fc63655e8a8c1ac6c5c7cae7eee03c4ab0b9951ba605c7634336d94adb538e94ccbf1d9f927ac530f58da87413a4b1555b2684681e4167 +EBUILD defendguin-0.0.12-r1.ebuild 921 BLAKE2B 81735673664173bda825eccd41f766ef89581fb98d911a111c71e07eb39091d5b96e6956eb57f89e1cffb7c0cc8fba9d967953b07c565d11690e4893ff535dfa SHA512 026d5689a5b60a046984efdbc25bee3641660edcce12d8cf2ea4e41ebfae326e38fd5be16541548941662ac72ce5d7e1d36776fbf59f4596e1b466ca6c733df7 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/defendguin/defendguin-0.0.12-r1.ebuild b/games-arcade/defendguin/defendguin-0.0.12-r1.ebuild new file mode 100644 index 000000000000..db692cd67f23 --- /dev/null +++ b/games-arcade/defendguin/defendguin-0.0.12-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="A clone of the arcade game Defender, but with a Linux theme" +HOMEPAGE="http://www.newbreedsoftware.com/defendguin/" +SRC_URI="ftp://ftp.tuxpaint.org/unix/x/${PN}/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/sdl-mixer[mod] + media-libs/libsdl[video]" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -i \ + -e "s:\$(DATA_PREFIX):/usr/share/${PN}/:" \ + -e '/^CFLAGS=.*-O2/d' \ + -e '/^CFLAGS=/s:=:+= $(LDFLAGS) :' \ + Makefile \ + || die + rm -f data/images/*.sh +} + +src_install() { + dobin ${PN} + insinto /usr/share/${PN} + doins -r ./data/* + + newicon data/images/ufo/ufo0.bmp ${PN}.bmp + make_desktop_entry ${PN} Defendguin /usr/share/pixmaps/${PN}.bmp + + doman src/${PN}.6 + dodoc docs/{AUTHORS,CHANGES,README,TODO}.txt +} diff --git a/games-arcade/defendguin/metadata.xml b/games-arcade/defendguin/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/defendguin/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> |