1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils desktop xdg-utils
8 DESCRIPTION="A top-down shooter with a touch of RPG"
9 HOMEPAGE="https://crimsonland.com/"
10 SRC_URI="Crimsonland-Linux-x86-${PV}.tar"
11 # https://dev.gentoo.org/~chewi/distfiles/${PN}.png"
12 LICENSE="all-rights-reserved"
14 KEYWORDS="-* ~amd64 ~x86"
15 RESTRICT="bindist fetch splitdebug"
18 media-libs/libsdl2[abi_x86_32,opengl,video]
19 media-libs/openal[abi_x86_32]
25 QA_PREBUILT="${DIR}/*"
28 einfo "Please buy and download ${SRC_URI} from:"
29 einfo " https://www.humblebundle.com/store/${PN}"
30 einfo "and move it to your distfiles directory."
36 make_wrapper ${PN} ./${PN} "${DIR}"
43 # doicon -s 64 "${DISTDIR}"/${PN}.png
44 make_desktop_entry ${PN} Crimsonland applications-games
47 pkg_postinst() { xdg_icon_cache_update; }
48 pkg_postrm() { xdg_icon_cache_update; }