blob: f1b2cacae4f8a2d9db0e5e3def612d43a31fa4ec (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 1999-2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit wrapper
DESCRIPTION="Single and multi player demos of Armies of Exigo (like WarCraft III), Windows"
HOMEPAGE="https://en.wikipedia.org/wiki/Armies_of_Exigo"
SRC_URI="
https://archive.org/download/armies-of-exigo--single-player-demo--portable-without-installer.tar/armies-of-exigo--single-player-demo--portable-without-installer.tar.xz
https://archive.org/download/armies-of-exigo--multiplayer-demo--portable-without-installer.tar/armies-of-exigo--multiplayer-demo--portable-without-installer.tar.xz
"
KEYWORDS="~amd64"
S="${WORKDIR}"
LICENSE="all-rights-reserved"
SLOT="0"
RESTRICT="strip"
RDEPEND="
~games-emulation/conty-1.25.2:0
"
# TODO add USE flag to be able to choolse local wine or wine-proton, against 1.4 GB dependency?
QA_PREBUILT="*"
dir=/opt/armies-of-exigo/demo/
src_install() {
mkdir -p "$ED$dir"
nameSingle=armies-of-exigo--single-player-demo--portable-without-installer
nameMulti=armies-of-exigo--multiplayer-demo--portable-without-installer
cp -r "$nameSingle" "$ED$dir"singleplayer
cp -r "$nameMulti" "$ED$dir"multiplayer
single=armies-of-exigo--demo-singleplayer
multi=armies-of-exigo--demo-multiplayer
conty='conty-1.25.2'
make_wrapper "$single" "$conty wine $dir/singleplayer/Exigo_spdemo.exe"
make_wrapper "$multi" "$conty wine $dir/multiplayer/Exigo_mpdemo.exe"
}
pkg_postinst() {
einfo "More about the game:"
einfo "https://en.wikipedia.org/wiki/Armies_of_Exigo"
einfo "Discord: https://discord.gg/HcsjkNX3JY"
einfo "https://armies-of-exigo.fandom.com/wiki/Armies_of_Exigo_Wiki"
einfo ""
einfo "This great game from 2004 is an abandonware - in 2024 you can buy it only as a second-hand CD."
einfo "List of creators: https://www.mobygames.com/game/16100/armies-of-exigo/credits/windows/"
einfo "If you want - please try to communicate with authors about making Armies of Exigo free and open source,"
einfo "or Intellectual Property holder can make a remake - add more display resolutions, improve the AI,"
einfo "make it runnable on modern Windows."
einfo ""
einfo "The game is installed to $dir - if you want to run it by another Wine or operating system"
}
|