diff options
Diffstat (limited to 'games-fps/the-dark-mod-bin/the-dark-mod-bin-2.12-r1.ebuild')
-rw-r--r-- | games-fps/the-dark-mod-bin/the-dark-mod-bin-2.12-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/games-fps/the-dark-mod-bin/the-dark-mod-bin-2.12-r1.ebuild b/games-fps/the-dark-mod-bin/the-dark-mod-bin-2.12-r1.ebuild new file mode 100644 index 000000000..4faa5cf97 --- /dev/null +++ b/games-fps/the-dark-mod-bin/the-dark-mod-bin-2.12-r1.ebuild @@ -0,0 +1,36 @@ +# 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" + +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" +} |