mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
1
games-puzzle/bff-or-die/Manifest
Normal file
1
games-puzzle/bff-or-die/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST BffOrDie_Linux.zip 194773335 BLAKE2B a32d6b26e446d84110db13340d527ad1ccc423ddb1dfcdacabaf80c0b326f7c7c3d8315b26cc3a8cf4c403b4943e94cd954c77d01edc1963e4fc3b773a4f1042 SHA512 4767fea4c3a94fcf4ad6ca2a313ba1c10d9e6d0d593a63aa336f90f38599f1c43064f56c3e8fd18615ff08bd01dbc0cabe0bd01a798276075c160143f6102650
|
||||
51
games-puzzle/bff-or-die/bff-or-die-20200614.ebuild
Normal file
51
games-puzzle/bff-or-die/bff-or-die-20200614.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
8
games-puzzle/bff-or-die/metadata.xml
Normal file
8
games-puzzle/bff-or-die/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>games@gentoo.org</email>
|
||||
<name>Gentoo Games Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user