diff options
Diffstat (limited to 'games-action/crimsonland/crimsonland-1.3.5.ebuild')
-rw-r--r-- | games-action/crimsonland/crimsonland-1.3.5.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/games-action/crimsonland/crimsonland-1.3.5.ebuild b/games-action/crimsonland/crimsonland-1.3.5.ebuild new file mode 100644 index 000000000000..bd9ae1cf2249 --- /dev/null +++ b/games-action/crimsonland/crimsonland-1.3.5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils desktop xdg-utils + +DESCRIPTION="A top-down shooter with a touch of RPG" +HOMEPAGE="https://crimsonland.com/" +SRC_URI="Crimsonland-Linux-x86-${PV}.tar + https://dev.gentoo.org/~chewi/distfiles/${PN}.png" +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist mirror splitdebug" + +RDEPEND=" + media-libs/libsdl2[abi_x86_32,opengl,video] + media-libs/openal[abi_x86_32] +" + +S="${WORKDIR}" + +DIR="/opt/${PN}" +QA_PREBUILT="${DIR}/*" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " https://www.humblebundle.com/store/${PN}" + einfo "and move it to your distfiles directory." +} + +src_install() { + exeinto "${DIR}" + doexe ${PN} + make_wrapper ${PN} ./${PN} "${DIR}" + + insinto "${DIR}" + doins *.pak *.xml + + dodoc README.txt + + doicon -s 64 "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} Crimsonland +} + +pkg_postinst() { xdg_icon_cache_update; } +pkg_postrm() { xdg_icon_cache_update; } |