blob: f07ae8bc917d1dbedf51fc301041cac3d595a3c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 2024 Gentoo Authors
# 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://downloads.sourceforge.net/project/zedonline/releases/ZED%20Online%20v$PV%20Linux.zip"
S="$WORKDIR"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="strip"
RDEPEND="
dev-libs/glib:2
media-libs/freetype
media-libs/libglvnd
net-misc/curl
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/pango
"
BDEPEND="
app-arch/unzip
"
QA_PREBUILT="opt/zedonline/*"
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"
}
|