From 77cc16e4654532dbc38dc6d130da01008e0f0090 Mon Sep 17 00:00:00 2001 From: Stefan Strogin Date: Wed, 21 Aug 2019 13:00:00 +0300 Subject: [PATCH] games-puzzle/braincurses: bump version to 1.1.0 Fix building with ncurses[tinfo]. Closes: https://bugs.gentoo.org/691766 Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Stefan Strogin --- games-puzzle/braincurses/Manifest | 1 + .../braincurses/braincurses-1.1.0.ebuild | 27 +++++++++++++++++++ games-puzzle/braincurses/metadata.xml | 1 - 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 games-puzzle/braincurses/braincurses-1.1.0.ebuild diff --git a/games-puzzle/braincurses/Manifest b/games-puzzle/braincurses/Manifest index 981fe7c88739..2e86dc43c6b3 100644 --- a/games-puzzle/braincurses/Manifest +++ b/games-puzzle/braincurses/Manifest @@ -1 +1,2 @@ DIST braincurses-0.5b.tar.gz 18487 BLAKE2B 4d3874eb6625781e866ba2250da45ff165d662abaeabda2c4525bb300479b33e1efb91f997165310b7a4edc61f81ac841b00b940d319ef0c18b8684dd5355d60 SHA512 7f90da3a5c480e0bf736dd4a53efc08abeb85969e727882e3d06f888b2a4b6002f9fd9bc1554ac2256c9821dea5fabf2638eba4a672046a09c1adb8690803a0e +DIST braincurses-1.1.0.tar.gz 12996 BLAKE2B 3f0c5edabd65175e581280413f7fea841d4d4b7ff9f4b39c4c3a0084e0e4c0a159605fe9ed320769a9bc85d671845af115456df33305e20f1eef6c53626c01a4 SHA512 7f27512c321ca2f2c3b38a891fc4e1ab0e2371412ada827f69dc262e27abbf750861b7ab859d0d8407ba25e4814ea6c33bc36a2c8ccdeda4977fa4bebb5457cd diff --git a/games-puzzle/braincurses/braincurses-1.1.0.ebuild b/games-puzzle/braincurses/braincurses-1.1.0.ebuild new file mode 100644 index 000000000000..94f0c4ab55b1 --- /dev/null +++ b/games-puzzle/braincurses/braincurses-1.1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="A version of the classic game Mastermind" +HOMEPAGE="https://github.com/bderrly/braincurses" +SRC_URI="https://github.com/bderrly/braincurses/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_compile() { + emake CXX=$(tc-getCXX) LDLIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )" +} + +src_install() { + dobin braincurses + einstalldocs +} diff --git a/games-puzzle/braincurses/metadata.xml b/games-puzzle/braincurses/metadata.xml index 53c5ddea1c78..9749ebc73548 100644 --- a/games-puzzle/braincurses/metadata.xml +++ b/games-puzzle/braincurses/metadata.xml @@ -6,7 +6,6 @@ Gentoo Games Project - braincurses bderrly/braincurses -- 2.26.2