games-puzzle/braincurses: bump version to 1.1.0
authorStefan Strogin <steils@gentoo.org>
Wed, 21 Aug 2019 10:00:00 +0000 (13:00 +0300)
committerStefan Strogin <steils@gentoo.org>
Wed, 21 Aug 2019 10:10:57 +0000 (13:10 +0300)
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>
games-puzzle/braincurses/Manifest
games-puzzle/braincurses/braincurses-1.1.0.ebuild [new file with mode: 0644]
games-puzzle/braincurses/metadata.xml

index 981fe7c88739abdbb2f901ec8ac296df858db460..2e86dc43c6b3e81cde2afc5937bdaff0f837c1b3 100644 (file)
@@ -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 (file)
index 0000000..94f0c4a
--- /dev/null
@@ -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
+}
index 53c5ddea1c782c87d02684f9e0652f416c24bde7..9749ebc73548566714e5b9e91fa61f4713f5af12 100644 (file)
@@ -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>