mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
games-strategy/warhammer4000-dawn-of-war-demo: treeclean
Not appropriate package for guru, should be in another overlay. Read bug for more info. Bug: https://bugs.gentoo.org/927922 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST warhammer4000-dawn-of-war-demo.tar.xz 304260244 BLAKE2B 3cc765ef30f70478f51eabbaf30edad19eeca9d57f68e0ae8f47f3dd524f78fa8c65cd93a2b98b0b3b00673d936e71ae0d73ba99979a0db0c230bc69ad3e11fd SHA512 275e1e86164ef3fb189042dc7a7bd7ffb53bcde29d6ca706cc8be37229977a19328872d7e5c286daa39d6bca646eecd756b0d2a2cc3958531459c562540bd69e
|
||||
@@ -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>
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="RTS with high rating from 2004, like WarCraft III or Armies of Exigo"
|
||||
HOMEPAGE="https://en.wikipedia.org/wiki/Warhammer_40%2C000%3A_Dawn_of_War"
|
||||
|
||||
SRC_URI="https://archive.org/download/$PN.tar/$PN.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="*"
|
||||
|
||||
src_install() {
|
||||
|
||||
mkdir -p "$ED$/opt" || die
|
||||
|
||||
mkdir "$ED/opt" || die
|
||||
mkdir -p "$ED/usr/bin/" || die
|
||||
cp -r "$PN" "$ED/opt/$PN" || die
|
||||
|
||||
conty='conty-1.25.2'
|
||||
|
||||
echo "cd /opt/$PN; $conty wine $PN; cd -" > "$ED/usr/bin/$PN" || die
|
||||
fperms +x "/usr/bin/$PN"
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "More about the game:"
|
||||
einfo "https://store.steampowered.com/app/4570/Warhammer_40000_Dawn_of_War__Game_of_the_Year_Edition/"
|
||||
einfo "https://www.wikidata.org/wiki/Q1061708"
|
||||
einfo "https://www.pcgamingwiki.com/wiki/Warhammer_40%2C000%3A_Dawn_of_War"
|
||||
einfo "The game is installed to /opt/$PN - if you want to run it by another Wine or operating system"
|
||||
}
|
||||
Reference in New Issue
Block a user