mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
games-rpg/heroes-of-might-and-magic-v-demo: treeclean
Not appropriate package for guru, should be in another overlay. Read bug for more info. Bug: https://bugs.gentoo.org/927922 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST heroes-of-might-and-magic-v-demo.tar.xz 692521392 BLAKE2B 7403495d8f303b68937c11ac7db3738f883ea4ccbeb08e4a9ea9566e458a2e90ca0766579d5323f16e30b2e8d83e09675d1ef743a7289f0dc392d2fbaccc3061 SHA512 dd2293f377426e29eb38939d2b934fcadb4491899df92656578e9385ef5de5b5107e5a6609c33a0e87f776e56b1e0a684d0248d587c56107d776211a7be82a3a
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit wrapper
|
||||
|
||||
DESCRIPTION="HoMM 5 from 2006, made by Nival in Russia. A few maps included."
|
||||
HOMEPAGE="https://en.wikipedia.org/wiki/Heroes_of_Might_and_Magic_V"
|
||||
|
||||
SRC_URI="https://archive.org/download/$PN.tar.xz/$PN.tar.xz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="
|
||||
virtual/wine
|
||||
app-emulation/dxvk
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
|
||||
mkdir -p "$ED$/opt"
|
||||
|
||||
mkdir "$ED/opt" || die
|
||||
mkdir -p "$ED/usr/bin/" || die
|
||||
cp -r "$PN" "$ED/opt/$PN" || die
|
||||
|
||||
make_wrapper "$PN" "env WINEPREFIX=/home/\$USER/.wine-homm5 wine /opt/$PN/bin/H5_Game.exe"
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Downloaded from https://www.moddb.com/games/heroes-of-might-and-magic-5/downloads/heroes-of-might-and-magic-v-demo"
|
||||
einfo "More about the game:"
|
||||
einfo "https://www.wikidata.org/wiki/Q2450"
|
||||
einfo "https://www.metacritic.com/game/heroes-of-might-and-magic-v/"
|
||||
einfo ""
|
||||
einfo "Buy the full game at"
|
||||
einfo "https://www.gog.com/en/game/heroes_of_might_and_magic_5_bundle"
|
||||
einfo "https://store.steampowered.com/app/15170/Heroes_of_Might__Magic_V/"
|
||||
einfo "https://www.humblebundle.com/store/heroes-of-might-magic-v"
|
||||
einfo ""
|
||||
einfo "The game is installed to /opt/$PN - if you want to run it by another Wine or operating system"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Vitaly Zdanevich</name>
|
||||
<email>zdanevich.vitaly@ya.ru</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user