games-strategy/zedonline: new package

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich
2024-06-08 01:39:32 +04:00
parent 492006881b
commit efd7528c2e
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ZED%20Online%20v0.3.2%20Linux.zip 107892127 BLAKE2B fc058564a10ac3b15b6455d7dc9338eb9c8c2114c6dfaa36b4ba072da448ece2c8511351a884cf1d7ecb8a97d8c0a6e18fd9b3fd9445a0236331f8f069dbf77e SHA512 e550c233e2d822b7e8a634967f5ef0b381465b36ebac9cf2164771932d3a234569372697009b9b508f1f3849505acfde96b7e727d49e15a31af7b7ffeb083a67

View File

@@ -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>zdanevich.vitaly@ya.ru</email>
</maintainer>
<upstream>
<remote-id type="sourceforge">zedonline</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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"
}