Files
guru/games-fps/the-dark-mod-bin/the-dark-mod-bin-2.12-r1.ebuild
Vitaly Zdanevich 005ec3465a */*: Global replace Gentoo Foundation -> Gentoo Authors
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
2024-06-13 23:24:08 +04:00

37 lines
679 B
Bash

# 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"
}