summaryrefslogtreecommitdiff
path: root/games-strategy/dominions2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /games-strategy/dominions2
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'games-strategy/dominions2')
-rw-r--r--games-strategy/dominions2/Manifest2
-rw-r--r--games-strategy/dominions2/dominions2-2.16-r1.ebuild (renamed from games-strategy/dominions2/dominions2-2.16.ebuild)26
2 files changed, 14 insertions, 14 deletions
diff --git a/games-strategy/dominions2/Manifest b/games-strategy/dominions2/Manifest
index a67fa6e3e648..a90edfe439f5 100644
--- a/games-strategy/dominions2/Manifest
+++ b/games-strategy/dominions2/Manifest
@@ -3,5 +3,5 @@ DIST dominions2.png 1135 BLAKE2B 4bfbe3fcdded6eec7a3eea6c9b3dc8b2ae9be2a9f932957
DIST dompatch216_linux_ppc.tgz 1982323 BLAKE2B 2d56f278fcf188a8e8aa32032872359fa57204d26a37e3b5369367e8297d1f6fb1adc290328ea052be57928efd6c42642294bb62f5b3d209f9028da5c3293bb1 SHA512 6b1ff8b5a041c42193b8f369ee0ff242048fd589ffd9b610628a7bf7a0d159fe6e590b04b914ecbf3b94ef2b94a66a062be84d595777127d8f11311fa92c3ae9
DIST dompatch216_linux_x86.tgz 1892714 BLAKE2B 72102240b577f696a96ee4ee493180621b5ca65c2fb1394e355210aa3e3ae145e9d8501dff95ffd185344b4259d6df622844504022d9f3475564a6eafc890367 SHA512 9bb2a024235585181f91d8414c07ce8c490fed5ddab9d25817b7ea01618f0f2cf8714fb39a4406abe88e25b354f14ba1ef2db79c39d4c30b4e399d1b60477c2d
DIST manual_addenda.pdf 192454 BLAKE2B c0fe48855fa8f20cf44c4de3b475494cfa75ba17737f6eab2d537d63fdb7346194a59d3280ad29de1bff1283f3a496a36a8c946841f608a36facb4bbb1719f8b SHA512 ec582e9685edf7164ba8e7c6c99880b30c8a6737d2d339eec2642196abd175857bfef2e1ea3da3ccb0110d441c477c8fad64d47fbb8b1aa39b405484eb548443
-EBUILD dominions2-2.16.ebuild 2650 BLAKE2B a74ba0e758187643a3c69a02825e4adb2c97ae2def4e4f9ceda4a4e71d28a013c40be1881f00e21839fe40568f426db0e9ba9fab89f4051ab110e9b81cef3e01 SHA512 3350412fb2f8679d591441320e6139fd83bde6e74e6ee0ee7c76a6f720b67c30ba59ee85b8bebdb6af7e6c22c53ab71a29eff8461c08f884d150412c08ff6e01
+EBUILD dominions2-2.16-r1.ebuild 2601 BLAKE2B 828a339a444fb29f83636f051792f5d78410ec10495e6788bfeb38a2b707d123f8ec016cfd0ea3df722302c620c84c7bfaceeb447c3f5a6457c963c5a193f408 SHA512 805095ea10b0f6c20a80d9664c51fe16b4ecff9c01d8066dc47bcd8d62cd8e66e5f0bc7a4d6cfcbddf5387fac3bf74b28d52f0772a35e18a2a5191a639b8cba2
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-strategy/dominions2/dominions2-2.16.ebuild b/games-strategy/dominions2/dominions2-2.16-r1.ebuild
index eca8acd9d25d..0f7d0a64c0f4 100644
--- a/games-strategy/dominions2/dominions2-2.16.ebuild
+++ b/games-strategy/dominions2/dominions2-2.16-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils cdrom games
+EAPI=7
+
+inherit cdrom desktop wrapper
DESCRIPTION="Dominions 2: The Ascension Wars is an epic turn-based fantasy strategy game"
HOMEPAGE="http://www.illwinter.com/dom2/index.html"
@@ -22,6 +23,7 @@ LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
+
RESTRICT="bindist strip"
RDEPEND="
@@ -36,10 +38,11 @@ RDEPEND="
virtual/opengl[abi_x86_32(-)]
virtual/glu[abi_x86_32(-)]
)
- )"
+ )
+"
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
+dir=opt/${PN}
+Ddir="${ED}"/${dir}
src_unpack() {
mkdir -p "${S}"/patch || die
@@ -61,6 +64,7 @@ src_install() {
elif use ppc ; then
doexe "${CDROM_ROOT}"/bin_lin/ppc/dom2*
fi
+
insinto "${dir}"
doins -r "${CDROM_ROOT}"/dominions2.app/Contents/Resources/*
dodoc "${CDROM_ROOT}"/doc/*
@@ -75,7 +79,7 @@ src_install() {
if use doc; then
elog ""
- elog "Installing extra documentation to '/usr/share/doc/${P}'"
+ elog "Installing extra documentation to '/usr/share/doc/${PF}'"
elog ""
elog "You may want to study 'DOM2_Walkthrough.pdf' carefully if"
elog "you are new to Dominions II."
@@ -86,17 +90,13 @@ src_install() {
doicon "${DISTDIR}"/${PN}.png
# update times
- find "${D}" -exec touch '{}' \;
+ find "${D}" -exec touch '{}' \; || die
- games_make_wrapper dominions2 ./dom2 "${dir}" "${dir}"
+ make_wrapper dominions2 ./dom2 "${dir}" "${dir}"
make_desktop_entry dominions2 "Dominions II" dominions2
-
- prepgamesdirs
}
pkg_postinst() {
- games_pkg_postinst
elog "To play the game run:"
elog " dominions2"
- echo
}