diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2021-07-25 18:48:28 +0200 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-07-27 14:18:35 -0400 |
commit | 2e3a978a048a55058204d792e451d13eaa547c78 (patch) | |
tree | 0c1eb6f0e71280d63aecf0012e84d60b12ccc5a1 /games-arcade | |
parent | games-rpg/lure: EAPI8 bump, ebuild improvements (diff) | |
download | gentoo-2e3a978a048a55058204d792e451d13eaa547c78.tar.gz gentoo-2e3a978a048a55058204d792e451d13eaa547c78.tar.bz2 gentoo-2e3a978a048a55058204d792e451d13eaa547c78.zip |
games-arcade/ascii-invaders: EAPI8, version bump (1.0.1)
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/ascii-invaders/Manifest | 1 | ||||
-rw-r--r-- | games-arcade/ascii-invaders/ascii-invaders-1.0.1.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/games-arcade/ascii-invaders/Manifest b/games-arcade/ascii-invaders/Manifest index 49d3540909e9..d3a305d092fe 100644 --- a/games-arcade/ascii-invaders/Manifest +++ b/games-arcade/ascii-invaders/Manifest @@ -1 +1,2 @@ +DIST ascii-invaders-1.0.1.tar.gz 37578 BLAKE2B 181509c07b1d9ae54f9147f7425c3d62a57f9bff9561fca6af3f3cc15b7fc96f62c809576bdbbe0ba6a2801947941e259e788f99980174848efedbc71c8a969c SHA512 326708ffc2c277e04575920c58f6a267e0bf46f8d2a3dbca9b5c317fb01006d4f673ab35f92f292549cc52dbee4400a84c85478eb81b9bd7703689a705547bc7 DIST invaders0.1b.tgz 14597 BLAKE2B ecccca6636c4d8dffbc57b8cec82471efc2fd1a256648b9ac46fd256ef99d884205f1c86ff2bf0aedb7bb5996a59a7af3f301339944c6a4753355a8a4db23190 SHA512 3ac9dee0c532384e2849fdc8910bce885e3fdef362b629e8637df1cc0d82eba52c02a836a4925d811b339e9232f20caa7c761dbc1feeddc74e9b6f09e97046b8 diff --git a/games-arcade/ascii-invaders/ascii-invaders-1.0.1.ebuild b/games-arcade/ascii-invaders/ascii-invaders-1.0.1.ebuild new file mode 100644 index 000000000000..f83820061e2e --- /dev/null +++ b/games-arcade/ascii-invaders/ascii-invaders-1.0.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Space invaders clone, using ncurses library" +HOMEPAGE="https://github.com/macdice/ascii-invaders" +SRC_URI="https://github.com/macdice/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~mips ~ppc64 ~x86 ~ppc-macos" + +RDEPEND="sys-libs/ncurses:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_compile() { + tc-export CC + append-cppflags $($(tc-getPKG_CONFIG) --cflags ncurses || die) + emake -f /dev/null LDLIBS="$($(tc-getPKG_CONFIG) ncurses --libs || die)" invaders +} + +src_install() { + newbin invaders ${PN} + einstalldocs +} |