mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
games-strategy/swine: treeclean
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
DIST swine.tar.xz 586370844 BLAKE2B 89ef83e0c0df58938f66aff096e281a9dedc26777afb560173bfa9d35f1a53bc0044f5974439cd2c012cd8912b77e19827489335f5349ac38a7c8bef85e4b4d6 SHA512 d58c3412d7ee7a49758b228ae1f7d91d11e2c997fc7a9497137657bd265f289cc9d09a8714a7309fbbcd0b115732edf7572d392b3361133228e86bf8f99b68fa
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<!-- maintainer-needed -->
|
|
||||||
</pkgmetadata>
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DESCRIPTION="Fun RTS from 2001 by Hungarian developer StormRegion, similar to Ground Control"
|
|
||||||
HOMEPAGE="https://en.wikipedia.org/wiki/S.W.I.N.E."
|
|
||||||
SRC_URI="https://archive.org/download/$PN.tar.xz/$PN.tar.xz"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
LICENSE="all-rights-reserved"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
RESTRICT="strip"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
virtual/wine
|
|
||||||
"
|
|
||||||
|
|
||||||
QA_PREBUILT="*"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
|
|
||||||
exec=swine.exe
|
|
||||||
|
|
||||||
mkdir -p "$ED$/opt"
|
|
||||||
|
|
||||||
mkdir "$ED/opt" || die
|
|
||||||
mkdir -p "$ED/usr/bin/" || die
|
|
||||||
cp -r "$PN" "$ED/opt/$PN" || die
|
|
||||||
fperms o+w "/opt/$PN/$PN.log" # Will not start without it
|
|
||||||
|
|
||||||
echo "cd /opt/$PN; wine $exec; cd -" > "$ED/usr/bin/$PN"
|
|
||||||
# I tried
|
|
||||||
# make_wrapper "$PN" "env WINEPREFIX=/home/\$USER/.wine-swine wine /opt/$PN/swine.exe"
|
|
||||||
# but game got error - because we need to run from the game directory
|
|
||||||
fperms +x "/usr/bin/$PN"
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
einfo "Downloaded from https://www.moddb.com/games/swn/downloads/s-w-i-n-e-full-game"
|
|
||||||
einfo "More about the game:"
|
|
||||||
einfo "https://www.youtube.com/channel/UCNtssCCyFCEr6N8N5T9kvHQ"
|
|
||||||
einfo "https://www.wikidata.org/wiki/Q844994"
|
|
||||||
einfo "https://www.metacritic.com/game/s-w-i-n-e/"
|
|
||||||
einfo "The game is installed to /opt/$PN/ - if you want to run it by another Wine or operating system"
|
|
||||||
}
|
|
||||||
@@ -58,12 +58,6 @@ www-apps/vaultwarden-web
|
|||||||
# Removal on 2025-04-17
|
# Removal on 2025-04-17
|
||||||
app-admin/bitwarden-cli
|
app-admin/bitwarden-cli
|
||||||
|
|
||||||
# David Roman <davidroman96@gmail.com> (2025-03-12)
|
|
||||||
# It's just a Windows .exe with a wine wrapper
|
|
||||||
# HOMEPAGE just points to a Wikipedia article
|
|
||||||
# Removal on 2025-04-12
|
|
||||||
games-strategy/swine
|
|
||||||
|
|
||||||
# David Roman <davidroman96@gmail.com> (2025-03-12)
|
# David Roman <davidroman96@gmail.com> (2025-03-12)
|
||||||
# Uses deprecated EGO_SUM. Last release in 2023.
|
# Uses deprecated EGO_SUM. Last release in 2023.
|
||||||
# Removal on 2025-05-12
|
# Removal on 2025-05-12
|
||||||
|
|||||||
Reference in New Issue
Block a user