games-fps/the-dark-mod-bin: new package, native game

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich
2024-04-15 16:12:38 +04:00
parent 62eac930d9
commit 768993e09e
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST the-dark-mod-2.12.tar.xz 17263615692 BLAKE2B c4a7b2bbf804b46c88ded6150970989c6f6aa5e200a0cea175169f8c109b2d6bde565010bcfca200d75961f21fc90588fc347c9a2059c2a06431362e3327583c SHA512 35bba5d49a5a7dd5c612b06996a2ce43f6aa3b9e07db9fdeb42a403b1d34d825c6a6877c6690a0ae082a8a8a5e85abdcda62ccaa897a2f2c238fe492a1f456d1

View File

@@ -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>

View File

@@ -0,0 +1,34 @@
# Copyright 2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Inspired by Thief on Doom 3 libre engine (id Tech 4)"
HOMEPAGE="
https://www.thedarkmod.com
https://en.wikipedia.org/wiki/The_Dark_Mod
"
SRC_URI="https://archive.org/download/the-dark-mod/the-dark-mod-$PV.tar.xz"
LICENSE="
GPL-3
CC-BY-NC-ND-3.0
"
SLOT="0"
KEYWORDS="~amd64"
QA_PREBUILT="*"
RESTRICT="strip"
S="${WORKDIR}/the-dark-mod"
src_install() {
dodir /opt
dodir /usr/bin/
cp -r . "$ED/opt/$PN" || die
echo "cd /opt/$PN; ./thedarkmod.x64; cd -" > "$ED/usr/bin/$PN"
fperms +x "/usr/bin/$PN"
}