diff options
author | Sam James <sam@gentoo.org> | 2021-08-23 05:22:04 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-08-23 06:05:07 +0100 |
commit | 724646eb72b857009a0a7c32e18cef7805c9a507 (patch) | |
tree | 78be8d953d2b8d972530a91daf640049ccb46a60 /games-roguelike/moria/moria-5.7.14.ebuild | |
parent | games-puzzle/xwelltris: fix group of binary (diff) | |
download | gentoo-724646eb72b857009a0a7c32e18cef7805c9a507.tar.gz gentoo-724646eb72b857009a0a7c32e18cef7805c9a507.tar.bz2 gentoo-724646eb72b857009a0a7c32e18cef7805c9a507.zip |
games-roguelike/moria: fix group of binary
Closes: https://bugs.gentoo.org/809353
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-roguelike/moria/moria-5.7.14.ebuild')
-rw-r--r-- | games-roguelike/moria/moria-5.7.14.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/games-roguelike/moria/moria-5.7.14.ebuild b/games-roguelike/moria/moria-5.7.14.ebuild deleted file mode 100644 index 7198955b23e6..000000000000 --- a/games-roguelike/moria/moria-5.7.14.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CMAKE_IN_SOURCE_BUILD="yes" -inherit cmake prefix - -DESCRIPTION="The Dungeons of Moria, a single player roguelike game, also known as Umoria" -HOMEPAGE="https://umoria.org/" -SRC_URI="https://github.com/dungeons-of-moria/umoria/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~m68k ~x86" -IUSE="" - -RDEPEND="acct-group/gamestat - >=sys-libs/ncurses-6.0:0=" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -S="${WORKDIR}/umoria-${PV}" - -PATCHES=( "${FILESDIR}/${PN}-5.7.12-gentoo-paths.patch" ) - -src_prepare() { - cmake_src_prepare - hprefixify src/config.cpp -} - -src_install() { - newbin umoria/umoria moria - - insinto /usr/share/moria - doins umoria/data/*.txt - - insinto /var/lib/moria - doins umoria/scores.dat - fowners root:gamestat /var/lib/moria/scores.dat - fperms g+w /var/lib/moria/scores.dat - - doman "${FILESDIR}"/${PN}.6 - dodoc -r AUTHORS CHANGELOG.md CONTRIBUTING.md README.md historical -} - -pkg_postinst() { - elog - elog "Please add users to the 'gamestat' group, so they can run Moria:" - elog " usermod -aG gamestat <user>" - elog -} |