diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-14 11:09:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-14 11:09:11 +0100 |
commit | deba8115d2c2af26df42966b91ef04ff4dd79cde (patch) | |
tree | 9a48f42594e1a9e6b2020d5535a784314434d7a7 /games-action/rive/rive-1.15.ebuild | |
parent | 38423c67c8a23f6a1bc42038193182e2da3116eb (diff) |
gentoo resync : 14.05.2020
Diffstat (limited to 'games-action/rive/rive-1.15.ebuild')
-rw-r--r-- | games-action/rive/rive-1.15.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/games-action/rive/rive-1.15.ebuild b/games-action/rive/rive-1.15.ebuild new file mode 100644 index 000000000000..6014bf696dec --- /dev/null +++ b/games-action/rive/rive-1.15.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop unpacker xdg + +DESCRIPTION="Metal wrecking, robot hacking 360-degree shooter/platformer hybrid" +HOMEPAGE="https://rivethegame.com/" +SRC_URI="${PN^^}-Linux-2017-02-28.sh" +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64" +RESTRICT="bindist fetch splitdebug" + +RDEPEND=" + media-libs/libsdl2[opengl,video] + media-libs/openal +" + +S="${WORKDIR}/data" + +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_unpack() { + unpack_zip ${A} +} + +src_install() { + exeinto "${DIR}" + newexe x86_64/${PN^^}.bin.x86_64 ${PN^^}.bin + dosym "../..${DIR}"/${PN^^}.bin /usr/bin/${PN} + + insinto "${DIR}" + doins -r noarch/* + + newicon -s 256 noarch/app_icon.png ${PN}.png + make_desktop_entry ${PN} ${PN^^} +} |