commit: efd7528c2e2d4d87fc53fc1395a357bee54fc99a Author: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru> AuthorDate: Fri Jun 7 21:39:32 2024 +0000 Commit: Julien Roy <julien <AT> jroy <DOT> ca> CommitDate: Fri Jun 7 21:39:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=efd7528c
games-strategy/zedonline: new package Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru> games-strategy/zedonline/Manifest | 1 + games-strategy/zedonline/metadata.xml | 11 ++++++++ games-strategy/zedonline/zedonline-0.3.2.ebuild | 35 +++++++++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/games-strategy/zedonline/Manifest b/games-strategy/zedonline/Manifest new file mode 100644 index 000000000..60ef6ee4d --- /dev/null +++ b/games-strategy/zedonline/Manifest @@ -0,0 +1 @@ +DIST ZED%20Online%20v0.3.2%20Linux.zip 107892127 BLAKE2B fc058564a10ac3b15b6455d7dc9338eb9c8c2114c6dfaa36b4ba072da448ece2c8511351a884cf1d7ecb8a97d8c0a6e18fd9b3fd9445a0236331f8f069dbf77e SHA512 e550c233e2d822b7e8a634967f5ef0b381465b36ebac9cf2164771932d3a234569372697009b9b508f1f3849505acfde96b7e727d49e15a31af7b7ffeb083a67 diff --git a/games-strategy/zedonline/metadata.xml b/games-strategy/zedonline/metadata.xml new file mode 100644 index 000000000..5d977ff51 --- /dev/null +++ b/games-strategy/zedonline/metadata.xml @@ -0,0 +1,11 @@ +<?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>[email protected]</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">zedonline</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-strategy/zedonline/zedonline-0.3.2.ebuild b/games-strategy/zedonline/zedonline-0.3.2.ebuild new file mode 100644 index 000000000..779a2b0c8 --- /dev/null +++ b/games-strategy/zedonline/zedonline-0.3.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 2024 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit wrapper + +DESCRIPTION="A remake of the 1996 classic game Z, with network play" +HOMEPAGE="https://sourceforge.net/projects/zedonline/" +SRC_URI="https://master.dl.sourceforge.net/project/$PN/releases/ZED%20Online%20v$PV%20Linux.zip" + +S="$WORKDIR" + +LICENSE="GPL-3" + +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="strip" + +BDEPEND=" + app-arch/unzip +" + +src_install() { + P="$ED/opt/zedonline" + mkdir -p $P|| die + cp -r . "$ED/opt/zedonline/" || die + + make_wrapper $PN "'./ZED Online'" /opt/$PN/ +} + +pgk_postinst() { + einfo "See the game guide at https://zzone.lewe.com/commander-zod-single-player-guide" +}
