diff options
author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2023-05-29 23:35:48 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2023-06-19 21:14:27 +0100 |
commit | 59b10cdb24825f4874b2c4f7ea1a4f31a38fe15f (patch) | |
tree | 037c9d651c8785dc6b9ab1b7460195aad995b5b0 /games-strategy | |
parent | games-engines/fheroes2: new package, add 1.0.5 (diff) | |
download | gentoo-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>
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/homm2-demo/Manifest | 1 | ||||
-rw-r--r-- | games-strategy/homm2-demo/homm2-demo-0.ebuild | 33 | ||||
-rw-r--r-- | games-strategy/homm2-demo/metadata.xml | 16 |
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> |