diff options
author | James Le Cuirot <chewi@gentoo.org> | 2020-07-04 20:42:26 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-07-04 20:42:26 +0100 |
commit | 151ac68b15b07f6e6a86bbfa1a858bed372057b7 (patch) | |
tree | 5d82dc92ac94d600f85e950c9d68625f8373f49c /games-puzzle/bff-or-die/bff-or-die-20200614.ebuild | |
parent | profiles: net-misc/termpkg Last rites (diff) | |
download | gentoo-151ac68b15b07f6e6a86bbfa1a858bed372057b7.tar.gz gentoo-151ac68b15b07f6e6a86bbfa1a858bed372057b7.tar.bz2 gentoo-151ac68b15b07f6e6a86bbfa1a858bed372057b7.zip |
games-puzzle/bff-or-die: New package
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-puzzle/bff-or-die/bff-or-die-20200614.ebuild')
-rw-r--r-- | games-puzzle/bff-or-die/bff-or-die-20200614.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/games-puzzle/bff-or-die/bff-or-die-20200614.ebuild b/games-puzzle/bff-or-die/bff-or-die-20200614.ebuild new file mode 100644 index 000000000000..1f5014cfab27 --- /dev/null +++ b/games-puzzle/bff-or-die/bff-or-die-20200614.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils desktop xdg + +MY_PN="BffOrDie" +DESCRIPTION="Time travelling alien couch co-op puzzle game for 1-4 players" +HOMEPAGE="https://www.bffordie.com/" +SRC_URI="${MY_PN}_Linux.zip" +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist fetch splitdebug" + +RDEPEND=" + sys-libs/zlib + virtual/opengl +" + +BDEPEND=" + app-arch/unzip +" + +S="${WORKDIR}/${MY_PN}_Linux" + +DIR="/opt/${PN}" +QA_PREBUILT="${DIR#/}/*" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " https://asa-studio.itch.io/${PN}" + einfo "and move it to your distfiles directory." +} + +src_install() { + exeinto "${DIR}" + newexe ${MY_PN}.$(usex amd64 x86_64 x86) ${MY_PN} + make_wrapper ${PN} "${DIR}"/${MY_PN} + + insinto "${DIR}" + doins -r ${MY_PN}_Data/ + rm -r "${ED}/${DIR}"/${MY_PN}_Data/*/$(usex amd64 x86 x86_64) || die + + # Some Unity games have a GUI launcher but this one doesn't use it. + rm "${ED}/${DIR}"/${MY_PN}_Data/Plugins/*/ScreenSelector.so || die + + newicon -s 128 ${MY_PN}_Data/Resources/UnityPlayer.png ${PN}.png + make_desktop_entry ${PN} "BFF or Die" +} |