summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy')
-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
3 files changed, 50 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>