Skip to content

Commit

Permalink
games-strategy/homm2-demo: new package, add 0
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Sokolov <[email protected]>
Signed-off-by: James Le Cuirot <[email protected]>
  • Loading branch information
DarthGandalf authored and chewi committed Jun 19, 2023
1 parent c9dbfa9 commit 59b10cd
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 0 deletions.
1 change: 1 addition & 0 deletions games-strategy/homm2-demo/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST homm2-demo-0.zip 21848903 BLAKE2B 83c9f7849d55e381aef167f5a747372440d93292683d120d5f12b7f6e78438bcbf8de84fbe7702122f0d0c27b903ce548141a8ccc827b29651fbdb58554fa8aa SHA512 cd470323dd4a71765887cbcb03df6c8b575db011e521baa6707a1757ae0b1cfc0418ebef5d5cb749619ebb8fe7e381a96fbd43ae0ea37cda15bb27a0eb594226
33 changes: 33 additions & 0 deletions games-strategy/homm2-demo/homm2-demo-0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Data files for HoMM II Demo version"
HOMEPAGE="https://archive.org/details/HeroesofMightandMagicIITheSuccessionWars_1020"
SRC_URI="https://archive.org/download/HeroesofMightandMagicIITheSuccessionWars_1020/h2demo.zip -> ${P}.zip"

LICENSE="HoMM2-Demo"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="games-engines/fheroes2"
RDEPEND="
${DEPEND}
!games-strategy/homm2-gold-gog
"
BDEPEND="app-arch/unzip"

S="${WORKDIR}"

src_install() {
insinto /usr/share/fheroes2/data
doins DATA/*

insinto /usr/share/fheroes2/maps
doins MAPS/*
}

pkg_postinst() {
elog "Run the game using ${EPREFIX}/usr/bin/fheroes2"
}
16 changes: 16 additions & 0 deletions games-strategy/homm2-demo/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>[email protected]</email>
<name>Alexey Sokolov</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Gentoo Games Project</name>
</maintainer>
</pkgmetadata>
27 changes: 27 additions & 0 deletions licenses/HoMM2-Demo
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
HEROES OF MIGHT AND MAGIC(tm) II

(1) 10 business day hold on all personal checks.
Please allow 4-6 weeks for delivery. Special offers
such as this are subject to cancellation without warning.

(2) Feel free to give copies of this demonstration version
of "Heroes of Might and Magic II" (the "3DO Software Program")
to your friends, as long as you don't sell it.

(3) The 3DO Software Program recorded on the compact disc is
PROVIDED on an "as is" basis, without any warranty or condition
of any kind, and 3DO shall not be liable for any losses or damages
of any kind or nature resulting from the use of or inability to
use such program.

(4) 3DO neither assumes nor authorizes any other person or
entity to assume for 3DO (or any related or affiliated entity)
any other liability in connection with this 3DO Software Program.
IN NO EVENT WILL 3DO BE LIABLE FOR ANY INCIDENTAL,
CONSEQUENTIAL (INCLUDING LOSS OF PROFITS), OR
SPECIAL DAMAGES OR ANY LOSS OF DATA, TO YOU OR
TO ANY THIRD PARTY, RESULTING FROM THE POSSESSION,
USE OF OR INABILITY TO USE THIS 3DO SOFTWARE PRODUCT,
EVEN IF 3DO HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES OR LOSS.

0 comments on commit 59b10cd

Please sign in to comment.