* [gentoo-commits] repo/gentoo:master commit in: games-roguelike/moria/files/, games-roguelike/moria/
@ 2019-02-03 14:08 Andreas Sturmlechner
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2019-02-03 14:08 UTC (permalink / raw
To: gentoo-commits
commit: c27a8b891c263d60c4685c9a314953a65a1e6a7c
Author: Stefan Strogin <stefan.strogin <AT> gmail <DOT> com>
AuthorDate: Wed Jan 23 22:08:20 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 3 14:07:53 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c27a8b89
games-roguelike/moria: version 5.7.10
Closes: https://bugs.gentoo.org/674540
Package-Manager: Portage-2.3.57, Repoman-2.3.12
Signed-off-by: Stefan Strogin <stefan.strogin <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10899
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
games-roguelike/moria/Manifest | 1 +
.../moria/files/moria-5.7.10-gentoo-paths.patch | 33 +++++++
games-roguelike/moria/files/moria.6 | 108 +++++++++++++++++++++
games-roguelike/moria/metadata.xml | 11 ++-
games-roguelike/moria/moria-5.7.10.ebuild | 49 ++++++++++
5 files changed, 198 insertions(+), 4 deletions(-)
diff --git a/games-roguelike/moria/Manifest b/games-roguelike/moria/Manifest
index cbe1291829f..c64583a00c4 100644
--- a/games-roguelike/moria/Manifest
+++ b/games-roguelike/moria/Manifest
@@ -1,2 +1,3 @@
+DIST moria-5.7.10.tar.gz 392842 BLAKE2B 6b1f372d2c5503c708428b119e2c0333d3134eab3bd76ad8453ee062764b41d9dccca31c1512bd9561b5ba48b59dac32a447bb058c26c1cd9595cdc2e06cb9fc SHA512 f81754f03ae36ab5a8737fb0ae18da422b87da8684d00c88c934afa2c0b42e429c23a475751c506b499f809a421d1d3dfcc729e0d64d901b2e6c74e444d0f06f
DIST moria-extras.tar.bz2 57324 BLAKE2B 7a885e5595c8c3a3d0a29c65729e03ab1d26ad514b96a1d078a436960c1245283a51544dc54c6a5f225b77da3c3a72f8c7407efeac2b0629d51330b3abf9af49 SHA512 39d04ffdbe779fc070ee72084df5c731f8db25116e9156898d4c78c86e02288cf3560849461f2081209a06a74274789a671b104dc806b63a0d955adad17fd85f
DIST um5.5.2.tar.Z 910536 BLAKE2B d36d5cbb45992937f8e7c2f98cf2ad568e11e2d2b1af107e77ba98d8cfc23f2f4bcdb43ab9d5a9dd05e0ec45a5ecd298a1c4c7307bc0f75ca629c9c63cf9d3bb SHA512 987bbccb9cb4870ec91704cd20cf19875320d1cfe62c4c5a0063bfc3827732a0e3334a4ea3712137f3262d7418db0ea7e803d724e2dec4d5eb41ebe741f326cc
diff --git a/games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch b/games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch
new file mode 100644
index 00000000000..0d17c549e77
--- /dev/null
+++ b/games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch
@@ -0,0 +1,33 @@
+diff --git a/src/config.cpp b/src/config.cpp
+index 09528f7..1c299ed 100644
+--- a/src/config.cpp
++++ b/src/config.cpp
+@@ -12,17 +12,17 @@ namespace config {
+ // Data files used by Umoria
+ // NOTE: use relative paths to the executable binary.
+ namespace files {
+- const std::string splash_screen = "data/splash.txt";
+- const std::string welcome_screen = "data/welcome.txt";
+- const std::string license = "LICENSE";
+- const std::string versions_history = "data/versions.txt";
+- const std::string help = "data/help.txt";
+- const std::string help_wizard = "data/help_wizard.txt";
+- const std::string help_roguelike = "data/rl_help.txt";
+- const std::string help_roguelike_wizard = "data/rl_help_wizard.txt";
+- const std::string death_tomb = "data/death_tomb.txt";
+- const std::string death_royal = "data/death_royal.txt";
+- const std::string scores = "scores.dat";
++ const std::string splash_screen = "/usr/share/moria/splash.txt";
++ const std::string welcome_screen = "/usr/share/moria/welcome.txt";
++ const std::string license = "/usr/share/doc/@PF@/LICENSE";
++ const std::string versions_history = "/usr/share/moria/versions.txt";
++ const std::string help = "/usr/share/moria/help.txt";
++ const std::string help_wizard = "/usr/share/moria/help_wizard.txt";
++ const std::string help_roguelike = "/usr/share/moria/rl_help.txt";
++ const std::string help_roguelike_wizard = "/usr/share/moria/rl_help_wizard.txt";
++ const std::string death_tomb = "/usr/share/moria/death_tomb.txt";
++ const std::string death_royal = "/usr/share/moria/death_royal.txt";
++ const std::string scores = "/var/lib/moria/scores.dat";
+ std::string save_game = "game.sav";
+ }
+
diff --git a/games-roguelike/moria/files/moria.6 b/games-roguelike/moria/files/moria.6
new file mode 100644
index 00000000000..be1fc7cc353
--- /dev/null
+++ b/games-roguelike/moria/files/moria.6
@@ -0,0 +1,108 @@
+.TH MORIA 6 ""
+.SH NAME
+moria \- a dungeon game
+.SH SYNOPSIS
+.B
+moria
+[
+.B \-o
+] [
+.B \-r
+] [
+.B \-s
+] [
+.B \-S
+] [
+.B \-n
+] [
+.B \-w
+] [ savefile ]
+.SH DESCRIPTION
+.I Moria\^
+plays a dungeon game with you.
+It lets you generate a character,
+lets you buy equipment,
+and lets you wander in a fathomless dungeon
+while finding treasure and being attacked by monsters
+and fellow adventurers.
+Typing
+.B ?
+gives you a list of commands.
+.PP
+The ultimate object of
+.I moria
+is to kill the Balrog,
+which dwells on the 50th level of the
+dungeon, 2,500 feet underground.
+Most players never even reach the Balrog,
+and those that do seldom live to tell about it.
+.PP
+For a more complete description of the game,
+read the document
+.I The Dungeons of Moria.
+.PP
+By default,
+.I moria
+will save and restore games from a file
+called moria.save in your home directory. If the environment
+variable MORIA_SAV is defined, then
+.I moria
+will use that
+file name instead of the default. If MORIA_SAV is not a complete
+path name, then the savefile will be created or restored from the
+current directory. You can also explicitly specify a savefile
+on the command line.
+.PP
+If you use the \fB\-n\fP option,
+.I moria
+will create a new game,
+ignoring any savefile which may already exist.
+This works best when a savefile name is specified on the
+command line, as this will prevent
+.I moria
+from trying to overwrite the default savefile
+(if it exists) when you try to save your game.
+.PP
+You move in various directions
+by pressing the numeric keypad keys, VMS-style.
+If you specify
+\fB\-r\fP, you move the same way you do in \fIrogue\fP(6).
+You can also specify
+\fB\-o\fP to force the VMS-style command set.
+These options will override defaults stored in the savefile. If these
+options are given multiple times, only the last one will take effect.
+.PP
+If you specify
+.BR \-s ,
+.I moria
+prints all of the scores in the score file and exits.
+On a multiuser system, if you specify
+.BR \-S ,
+.I moria
+prints prints only those scores belonging to you and then exits.
+.PP
+If you specify \fB\-w\fP,
+.I moria
+will start up in wizard mode.
+You can resurrect a dead character by using this option when starting
+the game. Resurrected characters are teleported to the town level
+and given zero hitpoints.
+Wizard mode is intended for debugging the game, and for experimenting
+with new features. Any other use is considered cheating.
+Games played with wizard mode are not scored.
+.SH AUTHORS
+The original version of Moria was written in VMS/Pascal by Robert
+Alan Koeneke, Jimmey Wayne Todd,
+Gary McAdoo, and others at the University of Oklahoma.
+This version was written by Jim Wilson at the University of California,
+Berkeley, and released with minor revisions by David Grabiner at Harvard
+University.
+.SH BUGS
+.PP
+A suspended game that gets a hangup signal will die without creating a
+save file.
+
+Rerolling with a % at the class prompt not implemented.
+
+For a more comprehensive list, see the ERRORS file in the source
+distribution.
diff --git a/games-roguelike/moria/metadata.xml b/games-roguelike/moria/metadata.xml
index 78274e0fa55..51c540e92f8 100644
--- a/games-roguelike/moria/metadata.xml
+++ b/games-roguelike/moria/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">dungeons-of-moria/umoria</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/games-roguelike/moria/moria-5.7.10.ebuild b/games-roguelike/moria/moria-5.7.10.ebuild
new file mode 100644
index 00000000000..a5e1c54cf23
--- /dev/null
+++ b/games-roguelike/moria/moria-5.7.10.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_IN_SOURCE_BUILD="yes"
+inherit cmake-utils
+
+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 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=sys-libs/ncurses-6.0:0="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/umoria-${PV}"
+
+PATCHES=( "${FILESDIR}/${P}-gentoo-paths.patch" )
+
+src_prepare() {
+ cmake-utils_src_prepare
+ sed -i "s/@PF@/${PF}/" src/config.cpp || die
+}
+
+src_install() {
+ newbin umoria/umoria moria
+
+ insinto /usr/share/moria
+ doins data/*.txt
+
+ insinto /var/lib/moria
+ doins data/scores.dat
+ fowners root:games /var/lib/moria/scores.dat
+ fperms g+w /var/lib/moria/scores.dat
+
+ doman "${FILESDIR}"/${PN}.6
+ dodoc -r AUTHORS README.md docs
+
+ # The game binary will look for plain text LICENSE
+ insinto /usr/share/doc/${PF}
+ doins LICENSE
+ docompress -x /usr/share/doc/${PF}/LICENSE
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-roguelike/moria/files/, games-roguelike/moria/
@ 2019-02-12 22:02 James Le Cuirot
0 siblings, 0 replies; 4+ messages in thread
From: James Le Cuirot @ 2019-02-12 22:02 UTC (permalink / raw
To: gentoo-commits
commit: 87873260e20e28328606357a3bf8c41eeae87dbb
Author: Stefan Strogin <stefan.strogin <AT> gmail <DOT> com>
AuthorDate: Mon Feb 11 00:41:09 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Feb 12 22:01:26 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87873260
games-roguelike/moria: fix build with sys-libs/ncurses[tinfo]
Closes: https://bugs.gentoo.org/677672
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Stefan Strogin <stefan.strogin <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11025
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
.../moria/files/moria-5.7.10-tinfo.patch | 24 ++++++++++++++++++++++
games-roguelike/moria/moria-5.7.10.ebuild | 5 ++++-
2 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/games-roguelike/moria/files/moria-5.7.10-tinfo.patch b/games-roguelike/moria/files/moria-5.7.10-tinfo.patch
new file mode 100644
index 00000000000..5173a7d00f4
--- /dev/null
+++ b/games-roguelike/moria/files/moria-5.7.10-tinfo.patch
@@ -0,0 +1,24 @@
+From aa3ebbd2eb4b4a6ab92833060c212255d90c68b4 Mon Sep 17 00:00:00 2001
+From: Stefan Strogin <stefan.strogin@gmail.com>
+Date: Mon, 11 Feb 2019 01:53:10 +0200
+Subject: [PATCH] Find NCurses library on Linux/Mac
+
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 372d838..f39ebcd 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -261,6 +261,7 @@ elseif ((MSYS OR MINGW) AND NOT "$ENV{MINGW}" STREQUAL "")
+ set(CURSES_LIBRARIES "/$ENV{MINGW}/lib/libncurses.a")
+ else ()
+ message(STATUS "NOTE: Configuring build for macOS/Linux release...")
++ set(CURSES_NEED_NCURSES TRUE)
+ find_package(Curses REQUIRED)
+ endif ()
+
+--
+2.20.1
+
diff --git a/games-roguelike/moria/moria-5.7.10.ebuild b/games-roguelike/moria/moria-5.7.10.ebuild
index 77fadf27a04..999c073daa4 100644
--- a/games-roguelike/moria/moria-5.7.10.ebuild
+++ b/games-roguelike/moria/moria-5.7.10.ebuild
@@ -21,7 +21,10 @@ BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/umoria-${PV}"
-PATCHES=( "${FILESDIR}/${P}-gentoo-paths.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-gentoo-paths.patch"
+ "${FILESDIR}/${P}-tinfo.patch"
+)
pkg_setup(){
enewgroup gamestat 36
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-roguelike/moria/files/, games-roguelike/moria/
@ 2020-06-07 20:30 Stefan Strogin
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Strogin @ 2020-06-07 20:30 UTC (permalink / raw
To: gentoo-commits
commit: 2a81109ee4433d86f3cff85feeadd5e0cb3ec7ac
Author: Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 7 20:26:31 2020 +0000
Commit: Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Sun Jun 7 20:29:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a81109e
games-roguelike/moria: upgrade 5.7.10 -> 5.7.12
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>
games-roguelike/moria/Manifest | 2 +-
.../moria/files/moria-5.7.10-tinfo.patch | 24 ----------------------
.../{moria-5.7.10.ebuild => moria-5.7.12.ebuild} | 7 ++-----
3 files changed, 3 insertions(+), 30 deletions(-)
diff --git a/games-roguelike/moria/Manifest b/games-roguelike/moria/Manifest
index 7ac29351c30..49b1ce1a8e9 100644
--- a/games-roguelike/moria/Manifest
+++ b/games-roguelike/moria/Manifest
@@ -1 +1 @@
-DIST moria-5.7.10.tar.gz 392842 BLAKE2B 6b1f372d2c5503c708428b119e2c0333d3134eab3bd76ad8453ee062764b41d9dccca31c1512bd9561b5ba48b59dac32a447bb058c26c1cd9595cdc2e06cb9fc SHA512 f81754f03ae36ab5a8737fb0ae18da422b87da8684d00c88c934afa2c0b42e429c23a475751c506b499f809a421d1d3dfcc729e0d64d901b2e6c74e444d0f06f
+DIST moria-5.7.12.tar.gz 394633 BLAKE2B a73213809ee2f68249cd6c91b9b90a68b91fb1ffb40609c62becd05fd8f874bc6ce7ede97e76dcaab6f8081203f42c5295a1f5613d2d47644b5c585b4e96f2e1 SHA512 007768586e5a8fe11a6f65981fa1fe0071b00c53730b309883710a8f1f6bb8f812926467ec2947be7f582228f6d2e5d3d7306ee5504f2ffc056d3ed343d7a9cb
diff --git a/games-roguelike/moria/files/moria-5.7.10-tinfo.patch b/games-roguelike/moria/files/moria-5.7.10-tinfo.patch
deleted file mode 100644
index 5173a7d00f4..00000000000
--- a/games-roguelike/moria/files/moria-5.7.10-tinfo.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From aa3ebbd2eb4b4a6ab92833060c212255d90c68b4 Mon Sep 17 00:00:00 2001
-From: Stefan Strogin <stefan.strogin@gmail.com>
-Date: Mon, 11 Feb 2019 01:53:10 +0200
-Subject: [PATCH] Find NCurses library on Linux/Mac
-
----
- CMakeLists.txt | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 372d838..f39ebcd 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -261,6 +261,7 @@ elseif ((MSYS OR MINGW) AND NOT "$ENV{MINGW}" STREQUAL "")
- set(CURSES_LIBRARIES "/$ENV{MINGW}/lib/libncurses.a")
- else ()
- message(STATUS "NOTE: Configuring build for macOS/Linux release...")
-+ set(CURSES_NEED_NCURSES TRUE)
- find_package(Curses REQUIRED)
- endif ()
-
---
-2.20.1
-
diff --git a/games-roguelike/moria/moria-5.7.10.ebuild b/games-roguelike/moria/moria-5.7.12.ebuild
similarity index 90%
rename from games-roguelike/moria/moria-5.7.10.ebuild
rename to games-roguelike/moria/moria-5.7.12.ebuild
index 39187828c50..dbdd1675933 100644
--- a/games-roguelike/moria/moria-5.7.10.ebuild
+++ b/games-roguelike/moria/moria-5.7.12.ebuild
@@ -22,10 +22,7 @@ BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/umoria-${PV}"
-PATCHES=(
- "${FILESDIR}/${P}-gentoo-paths.patch"
- "${FILESDIR}/${P}-tinfo.patch"
-)
+PATCHES=( "${FILESDIR}/${PN}-5.7.10-gentoo-paths.patch" )
src_prepare() {
cmake_src_prepare
@@ -45,7 +42,7 @@ src_install() {
fperms g+w /var/lib/moria/scores.dat
doman "${FILESDIR}"/${PN}.6
- dodoc -r AUTHORS README.md docs
+ dodoc -r AUTHORS CHANGELOG.md CONTRIBUTING.md README.md historical
# The game binary will look for plain text LICENSE
insinto /usr/share/doc/${PF}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-roguelike/moria/files/, games-roguelike/moria/
@ 2020-06-07 23:18 Stefan Strogin
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Strogin @ 2020-06-07 23:18 UTC (permalink / raw
To: gentoo-commits
commit: c4d5afb9e7beb83378586c3962f8d4643b7ed6f9
Author: Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 7 23:11:40 2020 +0000
Commit: Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Sun Jun 7 23:17:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4d5afb9
games-roguelike/moria: don't install license; read it from /usr/portage/
And install files from ${build_dir} which is umoria/, not data/,
otherwise splash.txt and versions.txt are not installed.
It changes the installed files, so bump the revision.
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>
...10-gentoo-paths.patch => moria-5.7.12-gentoo-paths.patch} | 8 ++++----
.../moria/{moria-5.7.12.ebuild => moria-5.7.12-r1.ebuild} | 12 +++---------
2 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch b/games-roguelike/moria/files/moria-5.7.12-gentoo-paths.patch
similarity index 91%
rename from games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch
rename to games-roguelike/moria/files/moria-5.7.12-gentoo-paths.patch
index 0d17c549e77..a5ae834413d 100644
--- a/games-roguelike/moria/files/moria-5.7.10-gentoo-paths.patch
+++ b/games-roguelike/moria/files/moria-5.7.12-gentoo-paths.patch
@@ -1,8 +1,8 @@
diff --git a/src/config.cpp b/src/config.cpp
-index 09528f7..1c299ed 100644
+index 36f565b..bfe1b18 100644
--- a/src/config.cpp
+++ b/src/config.cpp
-@@ -12,17 +12,17 @@ namespace config {
+@@ -13,17 +13,17 @@ namespace config {
// Data files used by Umoria
// NOTE: use relative paths to the executable binary.
namespace files {
@@ -19,7 +19,7 @@ index 09528f7..1c299ed 100644
- const std::string scores = "scores.dat";
+ const std::string splash_screen = "/usr/share/moria/splash.txt";
+ const std::string welcome_screen = "/usr/share/moria/welcome.txt";
-+ const std::string license = "/usr/share/doc/@PF@/LICENSE";
++ const std::string license = "/usr/portage/licenses/GPL-2";
+ const std::string versions_history = "/usr/share/moria/versions.txt";
+ const std::string help = "/usr/share/moria/help.txt";
+ const std::string help_wizard = "/usr/share/moria/help_wizard.txt";
@@ -29,5 +29,5 @@ index 09528f7..1c299ed 100644
+ const std::string death_royal = "/usr/share/moria/death_royal.txt";
+ const std::string scores = "/var/lib/moria/scores.dat";
std::string save_game = "game.sav";
- }
+ } // namespace files
diff --git a/games-roguelike/moria/moria-5.7.12.ebuild b/games-roguelike/moria/moria-5.7.12-r1.ebuild
similarity index 78%
rename from games-roguelike/moria/moria-5.7.12.ebuild
rename to games-roguelike/moria/moria-5.7.12-r1.ebuild
index dbdd1675933..4e425eb4de6 100644
--- a/games-roguelike/moria/moria-5.7.12.ebuild
+++ b/games-roguelike/moria/moria-5.7.12-r1.ebuild
@@ -22,11 +22,10 @@ BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/umoria-${PV}"
-PATCHES=( "${FILESDIR}/${PN}-5.7.10-gentoo-paths.patch" )
+PATCHES=( "${FILESDIR}/${PN}-5.7.12-gentoo-paths.patch" )
src_prepare() {
cmake_src_prepare
- sed -i "s/@PF@/${PF}/" src/config.cpp || die
hprefixify src/config.cpp
}
@@ -34,20 +33,15 @@ src_install() {
newbin umoria/umoria moria
insinto /usr/share/moria
- doins data/*.txt
+ doins umoria/data/*.txt
insinto /var/lib/moria
- doins data/scores.dat
+ 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
-
- # The game binary will look for plain text LICENSE
- insinto /usr/share/doc/${PF}
- doins LICENSE
- docompress -x /usr/share/doc/${PF}/LICENSE
}
pkg_postinst() {
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-06-07 23:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-03 14:08 [gentoo-commits] repo/gentoo:master commit in: games-roguelike/moria/files/, games-roguelike/moria/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2019-02-12 22:02 James Le Cuirot
2020-06-07 20:30 Stefan Strogin
2020-06-07 23:18 Stefan Strogin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox