diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-arcade/ninvaders | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/ninvaders')
-rw-r--r-- | games-arcade/ninvaders/Manifest | 4 | ||||
-rw-r--r-- | games-arcade/ninvaders/files/ninvaders-0.1.1-compile.patch | 11 | ||||
-rw-r--r-- | games-arcade/ninvaders/metadata.xml | 11 | ||||
-rw-r--r-- | games-arcade/ninvaders/ninvaders-0.1.1-r1.ebuild | 30 |
4 files changed, 56 insertions, 0 deletions
diff --git a/games-arcade/ninvaders/Manifest b/games-arcade/ninvaders/Manifest new file mode 100644 index 000000000000..fc70611339ee --- /dev/null +++ b/games-arcade/ninvaders/Manifest @@ -0,0 +1,4 @@ +AUX ninvaders-0.1.1-compile.patch 271 BLAKE2B 99ae9f36673555fbd5054a3214c4c32a1c3ca352149decc28a236f3a77d61f0b588ef62deeda919d0baa5eee30ec0dfd47c4bcb504f4c96f52baf65d5e58451f SHA512 a49a531b9c0109ff65d8519940a23f480a69e281fdf0b9b630532f65fb24eff77b95e8d16b21b32befe7f179a459fe3cf1635a5e978d988e2958c606ca3e2454 +DIST ninvaders-0.1.1.tar.gz 31275 BLAKE2B 7e27c230a94eb9841ab69f11b0b9a9c4ddcbd3079083ad82a08685778bd9dc21b2eafb91fa50e9762f0594846adbb33fef71d24ff48239271b2d58cbbf921d81 SHA512 7987063084d9a9f042b419e7552debf3f173b82ba3832c2575ae8461fb5f787d6a476c305d5c2d591b4574748c6ba50e42391796c384f225685c22f044553087 +EBUILD ninvaders-0.1.1-r1.ebuild 574 BLAKE2B 89c96b71b936f632a9b51a1e5a79119df9f1f7e5d1d8c879f8c007de6be2bc68ac225dd48b8f1caffe15ee87973fd0a6cc7e6f36a2a34043e84990abca7a1f78 SHA512 97c4cc5b792b88e466e00a86af1a643bc2bf6b32c0d379d23afe63de409ee9ffce0a6e9cbc364b7f1a0ece54574b6fee9b1f331fe8d16c395427c743c1c8cf51 +MISC metadata.xml 332 BLAKE2B c7b1b070cd77955f5196efefea2f9fd6acfbc7c50a319adf794e75325e201dcbdefcbb8086020248d27b145a4d1307372f5c4d3d8aad97213abc395e2da2f99c SHA512 5786e2e02e612dfd952bb1985b87a502c861d5c9e0aa2b0360df210ab9516bb88dde5b946e21fef795b62d3a99f64d28e402529bc10f749da9c8a57908a07595 diff --git a/games-arcade/ninvaders/files/ninvaders-0.1.1-compile.patch b/games-arcade/ninvaders/files/ninvaders-0.1.1-compile.patch new file mode 100644 index 000000000000..768ffccc6530 --- /dev/null +++ b/games-arcade/ninvaders/files/ninvaders-0.1.1-compile.patch @@ -0,0 +1,11 @@ +--- a/aliens.c.orig 2016-01-21 13:21:51.730154342 -0500 ++++ b/aliens.c 2016-01-21 13:22:09.488543075 -0500 +@@ -163,7 +163,7 @@ + aliens.right=-1; + aliens.bottom=-1; + shipnum=0; +- for (k=0;k<11;k++) { ++ for (k=0;k<ALIENS_MAX_NUMBER_X;k++) { + lowest_ship[k]=-1; + } + diff --git a/games-arcade/ninvaders/metadata.xml b/games-arcade/ninvaders/metadata.xml new file mode 100644 index 000000000000..451fd4c6895b --- /dev/null +++ b/games-arcade/ninvaders/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">ninvaders</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/ninvaders/ninvaders-0.1.1-r1.ebuild b/games-arcade/ninvaders/ninvaders-0.1.1-r1.ebuild new file mode 100644 index 000000000000..84d3b0553b62 --- /dev/null +++ b/games-arcade/ninvaders/ninvaders-0.1.1-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="ASCII space invaders clone" +HOMEPAGE="http://ninvaders.sourceforge.net/" +SRC_URI="mirror://sourceforge/ninvaders/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="sys-libs/ncurses:0=" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-compile.patch ) + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" +} + +src_install() { + newbin nInvaders ninvaders + einstalldocs +} |