summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <alexey+gentoo@asokolov.org>2023-05-29 23:35:48 +0100
committerJames Le Cuirot <chewi@gentoo.org>2023-06-19 21:14:27 +0100
commit59b10cdb24825f4874b2c4f7ea1a4f31a38fe15f (patch)
tree037c9d651c8785dc6b9ab1b7460195aad995b5b0
parentgames-engines/fheroes2: new package, add 1.0.5 (diff)
downloadgentoo-59b10cdb24825f4874b2c4f7ea1a4f31a38fe15f.tar.gz
gentoo-59b10cdb24825f4874b2c4f7ea1a4f31a38fe15f.tar.bz2
gentoo-59b10cdb24825f4874b2c4f7ea1a4f31a38fe15f.zip
games-strategy/homm2-demo: new package, add 0
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: James Le Cuirot <chewi@gentoo.org>
-rw-r--r--games-strategy/homm2-demo/Manifest1
-rw-r--r--games-strategy/homm2-demo/homm2-demo-0.ebuild33
-rw-r--r--games-strategy/homm2-demo/metadata.xml16
-rw-r--r--licenses/HoMM2-Demo27
4 files changed, 77 insertions, 0 deletions
diff --git a/games-strategy/homm2-demo/Manifest b/games-strategy/homm2-demo/Manifest
new file mode 100644
index 000000000000..f224f5bd1288
--- /dev/null
+++ b/games-strategy/homm2-demo/Manifest
@@ -0,0 +1 @@
+DIST homm2-demo-0.zip 21848903 BLAKE2B 83c9f7849d55e381aef167f5a747372440d93292683d120d5f12b7f6e78438bcbf8de84fbe7702122f0d0c27b903ce548141a8ccc827b29651fbdb58554fa8aa SHA512 cd470323dd4a71765887cbcb03df6c8b575db011e521baa6707a1757ae0b1cfc0418ebef5d5cb749619ebb8fe7e381a96fbd43ae0ea37cda15bb27a0eb594226
diff --git a/games-strategy/homm2-demo/homm2-demo-0.ebuild b/games-strategy/homm2-demo/homm2-demo-0.ebuild
new file mode 100644
index 000000000000..d365cab5c09e
--- /dev/null
+++ b/games-strategy/homm2-demo/homm2-demo-0.ebuild
@@ -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"
+}
diff --git a/games-strategy/homm2-demo/metadata.xml b/games-strategy/homm2-demo/metadata.xml
new file mode 100644
index 000000000000..b527e33f3679
--- /dev/null
+++ b/games-strategy/homm2-demo/metadata.xml
@@ -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>alexey+gentoo@asokolov.org</email>
+ <name>Alexey Sokolov</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/licenses/HoMM2-Demo b/licenses/HoMM2-Demo
new file mode 100644
index 000000000000..cf522afb3136
--- /dev/null
+++ b/licenses/HoMM2-Demo
@@ -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.
+