blob: 1beb62eef0be60869f39ebb274423f62b18a2997 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 2024 Gentoo Authors
# 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"
S="${WORKDIR}/the-dark-mod"
LICENSE="
GPL-3
CC-BY-NC-ND-3.0
"
SLOT="0"
KEYWORDS="~amd64"
QA_PREBUILT="*"
RESTRICT="strip"
DEPEND="x11-libs/libX11"
RDEPEND="${DEPEND}"
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"
}
|