mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
games-strategy/massive-assault-network-ii: treeclean
Signed-off-by: John M. Harris Jr. <johnmh@johnmh.me>
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
DIST massive-assault-network-2.tar.xz 539578772 BLAKE2B f8f14719a32285c956690659afb523aa5b11a98346de4c56349755a0f80009e24291209741f0ac5228c32a13d29dd1a2c90633e8a5c186f97ecb2734947e8261 SHA512 c4c815af8cf2b6eb1b5aac61b1aab3a8b4652215894a1d3fd8b6ab81a44161c72d7567addbeabadf8b9e92e1f3323437bc3b9bb6623ab8dc3c33637c8be27696
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DESCRIPTION="Turn-based, sci-fi, like a chess, from 2006, any screen resolution, good rating"
|
|
||||||
HOMEPAGE="http://www.massiveassaultnetwork.com/man2/"
|
|
||||||
SRC_URI="https://archive.org/download/massive-assault-network-2.tar.xz/massive-assault-network-2.tar.xz"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
LICENSE="all-rights-reserved"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
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="*"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
|
|
||||||
mkdir -p "$ED$/opt" || die
|
|
||||||
|
|
||||||
mkdir "$ED/opt" || die
|
|
||||||
mkdir -p "$ED/usr/bin/" || die
|
|
||||||
cp -r massive-assault-network-2 "$ED/opt/$PN" || die
|
|
||||||
|
|
||||||
conty='conty-1.25.2'
|
|
||||||
|
|
||||||
echo "cd /opt/$PN; $conty wine man2.exe; cd -" > "$ED/usr/bin/$PN"
|
|
||||||
fperms +x "/usr/bin/$PN"
|
|
||||||
# I tried this but on run error: "Problems during decoding OGG files" -
|
|
||||||
# because I need to run from the directory of the game,
|
|
||||||
# but cd does not works with exec
|
|
||||||
# make_wrapper "$PN" "$conty wine /opt/$PN/man2.exe /d /opt/$PN"
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
einfo "More about the game:"
|
|
||||||
einfo "https://en.wikipedia.org/wiki/Massive_Assault_Network_2"
|
|
||||||
einfo "Wikidata: https://www.wikidata.org/wiki/Q4043784"
|
|
||||||
einfo "https://www.mobygames.com/game/44100/massive-assault-network-2"
|
|
||||||
einfo "https://www.metacritic.com/game/massive-assault-network-2"
|
|
||||||
einfo "Discord: https://discord.gg/u76RQ98U"
|
|
||||||
einfo ""
|
|
||||||
einfo "Buy the full game: https://www.humblebundle.com/store/massive-assault-network-2"
|
|
||||||
einfo "Downloaded from http://www.massiveassaultnetwork.com/download/man.2.0.270full_wn.exe, installed, archived"
|
|
||||||
einfo "The game is installed to /opt/$PN - if you want to run it by another Wine or operating system"
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?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>
|
|
||||||
Reference in New Issue
Block a user