aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-strategy/ground-control/Manifest1
-rw-r--r--games-strategy/ground-control/ground-control-1011.ebuild45
-rw-r--r--games-strategy/ground-control/metadata.xml8
3 files changed, 54 insertions, 0 deletions
diff --git a/games-strategy/ground-control/Manifest b/games-strategy/ground-control/Manifest
new file mode 100644
index 000000000..4902a591b
--- /dev/null
+++ b/games-strategy/ground-control/Manifest
@@ -0,0 +1 @@
+DIST ground-control.tar.xz 476764820 BLAKE2B d417dd5ba655c0ad1cbfeba5f8d9649cd84b4f068ed45a008332aa2cde9de8b317f8be57928a176e5c4c8708298793a41400abe82d1cda18a78915531a446e95 SHA512 6e12b1ece587fcb78664a34010eed922c7e716b1df659d260e6a0c7e64828adeea34cfc02266e563f7566a9ff99503e6d8fa19c05117627e50ae57c9fc840602
diff --git a/games-strategy/ground-control/ground-control-1011.ebuild b/games-strategy/ground-control/ground-control-1011.ebuild
new file mode 100644
index 000000000..6f11da62f
--- /dev/null
+++ b/games-strategy/ground-control/ground-control-1011.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit wrapper
+
+DESCRIPTION="From 2000, Metacritic is 75"
+HOMEPAGE="https://en.wikipedia.org/wiki/Ground_Control_(video_game)"
+
+SRC_URI="https://archive.org/download/$PN.tar.xz/$PN.tar.xz"
+
+KEYWORDS="~amd64"
+S="${WORKDIR}"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+RESTRICT="strip"
+
+RDEPEND="
+ virtual/wine
+ app-emulation/dxvk
+"
+
+QA_PREBUILT="*"
+
+src_install() {
+
+ mkdir -p "$ED$/opt"
+
+ mkdir "$ED/opt" || die
+ mkdir -p "$ED/usr/bin/" || die
+ cp -r "$PN" "$ED/opt/$PN" || die
+
+ make_wrapper "$PN" "env WINEPREFIX=/home/\$USER/.wine-ground-control wine /opt/$PN/gc.exe"
+
+}
+
+pkg_postinst() {
+ einfo "Downloaded from https://www.moddb.com/games/ground-control/downloads/ground-control-install"
+ einfo "More about the game:"
+ einfo "https://www.wikidata.org/wiki/Q1547686"
+ einfo "https://www.metacritic.com/game/1300002617/"
+ einfo "The game is installed to /opt/$PN - if you want to run it by another Wine or operating system"
+}
diff --git a/games-strategy/ground-control/metadata.xml b/games-strategy/ground-control/metadata.xml
new file mode 100644
index 000000000..812e586b9
--- /dev/null
+++ b/games-strategy/ground-control/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>