games-roguelike/moria: Depend on acct-group/gamestat.
authorUlrich Müller <ulm@gentoo.org>
Mon, 8 Jul 2019 08:45:31 +0000 (10:45 +0200)
committerJames Le Cuirot <chewi@gentoo.org>
Wed, 17 Jul 2019 20:03:59 +0000 (21:03 +0100)
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-roguelike/moria/moria-5.7.10.ebuild

index 999c073daa4f5bfd3be545e01c18cb1f5463de27..73142dad7977e9cb4fd1813e031a194d6aae069f 100644 (file)
@@ -4,7 +4,7 @@
 EAPI=7
 
 CMAKE_IN_SOURCE_BUILD="yes"
-inherit cmake-utils prefix user
+inherit cmake-utils prefix
 
 DESCRIPTION="The Dungeons of Moria, a single player roguelike game, also known as Umoria"
 HOMEPAGE="https://umoria.org/"
@@ -15,7 +15,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~m68k ~x86 ~x86-fbsd"
 IUSE=""
 
-RDEPEND=">=sys-libs/ncurses-6.0:0="
+RDEPEND="acct-group/gamestat
+       >=sys-libs/ncurses-6.0:0="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
@@ -26,10 +27,6 @@ PATCHES=(
        "${FILESDIR}/${P}-tinfo.patch"
 )
 
-pkg_setup(){
-       enewgroup gamestat 36
-}
-
 src_prepare() {
        cmake-utils_src_prepare
        sed -i "s/@PF@/${PF}/" src/config.cpp || die