mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-roguelike/moria: Drop old 5.7.14
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST moria-5.7.14.tar.gz 395191 BLAKE2B dfa8481c51009fba3d692d8f5a667a85904149a7756822b435ae8fe30a8ad9c5bb901f6efb21dfe17e1155e49c080ca7b3de154bcd2a5df055a17b3a81b5b6b0 SHA512 5c99ed314a29684d2fc18a1429fb7609553a78fd053eac8d61189e0af8c72777d481910153514dfe544a8939be24ed9725fc2b31e89e5d6e26f0b1df5ad4c3e0
|
||||
DIST moria-5.7.15.tar.gz 400424 BLAKE2B 779eaeb50eb2c0310beb1a02ebae355dadecfa29d519f8614e602172d3969d939abf9b86e0809f813b944eb72abaecb28e730ef9259a648c1dad179a6e8e4f96 SHA512 9ef9723eb120e5180640d8aa52073df638e506e0c842dac7173643bebfd84c51ec1fe6e2b1fa84ad1dcef29dc6607639e6a19ac4fd47000c6ba241691c1c720c
|
||||
|
||||
@@ -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 /usr/bin/${PN}
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user