diff options
Diffstat (limited to 'games-server/mednafen-server/mednafen-server-0.5.2-r2.ebuild')
-rw-r--r-- | games-server/mednafen-server/mednafen-server-0.5.2-r2.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/games-server/mednafen-server/mednafen-server-0.5.2-r2.ebuild b/games-server/mednafen-server/mednafen-server-0.5.2-r2.ebuild new file mode 100644 index 000000000000..a08ec6a3f444 --- /dev/null +++ b/games-server/mednafen-server/mednafen-server-0.5.2-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Server for Mednafen emulator" +HOMEPAGE="https://mednafen.github.io/releases/" +SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + default + + mv standard.conf standard.conf.example || die + mv run.sh run.sh.example || die +} + +src_install() { + dobin src/${PN} + dodoc README *.example +} + +pkg_postinst() { + einfo "Example config file and run file can be found in" + einfo "/usr/share/doc/${PF}/" +} |