summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Strogin <steils@gentoo.org>2019-08-21 13:00:00 +0300
committerStefan Strogin <steils@gentoo.org>2019-08-21 13:10:57 +0300
commit77cc16e4654532dbc38dc6d130da01008e0f0090 (patch)
tree8f195105755e31a69b53e6f877e247546d1e812b /games-puzzle
parentwww-client/opera-beta: Old (diff)
downloadgentoo-77cc16e4654532dbc38dc6d130da01008e0f0090.tar.gz
gentoo-77cc16e4654532dbc38dc6d130da01008e0f0090.tar.bz2
gentoo-77cc16e4654532dbc38dc6d130da01008e0f0090.zip
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 <steils@gentoo.org>
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/braincurses/Manifest1
-rw-r--r--games-puzzle/braincurses/braincurses-1.1.0.ebuild27
-rw-r--r--games-puzzle/braincurses/metadata.xml1
3 files changed, 28 insertions, 1 deletions
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 @@
<name>Gentoo Games Project</name>
</maintainer>
<upstream>
- <remote-id type="sourceforge">braincurses</remote-id>
<remote-id type="github">bderrly/braincurses</remote-id>
</upstream>
</pkgmetadata>