mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
games-puzzle/baba-is-you: new package, add 474
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
1
games-puzzle/baba-is-you/Manifest
Normal file
1
games-puzzle/baba-is-you/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST BIY_linux.tar.gz 92815828 BLAKE2B 22822b5412058fc7b49c95fa694520f1e6a250b9a674e85f5e9d5bdb432793d37075b265eb3f925708a78396052210276c87b011501f6732c51b90d33380345a SHA512 93ab99998b8705c866bad2d84549c6e13dc824afe9db4cc5f125cb715edddf4f3f42de828498198bcf38e2f10c2520f2cf50216c5e55c4f4d0095aa1b9cf13d3
|
||||
45
games-puzzle/baba-is-you/baba-is-you-474.ebuild
Normal file
45
games-puzzle/baba-is-you/baba-is-you-474.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN="Baba Is You"
|
||||
|
||||
inherit desktop
|
||||
|
||||
DESCRIPTION="Puzzle game where you can change the rules by which you play"
|
||||
HOMEPAGE="https://www.hempuli.com/baba/"
|
||||
SRC_URI="BIY_linux.tar.gz"
|
||||
S="${WORKDIR}"/"${MY_PN}"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
RESTRICT="bindist fetch splitdebug"
|
||||
|
||||
DIR="/opt/${PN}"
|
||||
QA_PREBUILT="${DIR#/}/*"
|
||||
|
||||
RDEPEND="virtual/opengl"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please buy and download ${SRC_URI} from:"
|
||||
einfo " https://hempuli.itch.io/baba"
|
||||
einfo "and move it to your distfiles directory."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local arch=$(usex amd64 64 32)
|
||||
insinto "${DIR}"
|
||||
doins -r Assets.dat gamecontrollerdb.txt Data/
|
||||
|
||||
exeinto "${DIR}"/bin${arch}
|
||||
doexe bin${arch}/Chowdren
|
||||
|
||||
exeinto "${DIR}"
|
||||
doexe run.sh
|
||||
|
||||
newicon icon.bmp ${PN}.bmp
|
||||
make_desktop_entry /usr/bin/${PN} "${MY_PN}" ${PN}.bmp LogicGame
|
||||
dosym -r "${DIR}"/run.sh /usr/bin/${PN}
|
||||
}
|
||||
Reference in New Issue
Block a user