diff options
author | 2022-06-25 09:31:31 +0100 | |
---|---|---|
committer | 2022-06-25 09:31:31 +0100 | |
commit | 1949b1f025c678ef6a17a331195c5e15c3a47104 (patch) | |
tree | 4e6fa48c58aa449510bb1caf253a10d318ff3666 /games-sports/skatebird/skatebird-14.ebuild | |
parent | app-portage/gpyutils: Stabilize 0.8.2 ALLARCHES, #854045 (diff) | |
download | gentoo-1949b1f025c678ef6a17a331195c5e15c3a47104.tar.gz gentoo-1949b1f025c678ef6a17a331195c5e15c3a47104.tar.bz2 gentoo-1949b1f025c678ef6a17a331195c5e15c3a47104.zip |
games-sports/skatebird: Bump to 14, drop old 12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-sports/skatebird/skatebird-14.ebuild')
-rw-r--r-- | games-sports/skatebird/skatebird-14.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/games-sports/skatebird/skatebird-14.ebuild b/games-sports/skatebird/skatebird-14.ebuild new file mode 100644 index 000000000000..fa99f085ac4a --- /dev/null +++ b/games-sports/skatebird/skatebird-14.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHECKREQS_DISK_BUILD="3G" +inherit check-reqs desktop wrapper xdg + +MY_PN="SkateBIRD" +DESCRIPTION="Skateboarding game where you play as a bird" +HOMEPAGE="https://glassbottommeg.itch.io/skatebird" +SRC_URI="skatebird-linux.zip" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64" +RESTRICT="bindist fetch splitdebug" + +BDEPEND=" + app-arch/unzip +" + +S="${WORKDIR}" +DIR="/opt/${PN}" +QA_PREBUILT="${DIR#/}/*" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to your distfiles directory." +} + +src_prepare() { + default + + # Avoid error trying to create unity.lock. + sed -i "/^single-instance=/d" ${MY_PN}_Data/boot.config || die +} + +src_install() { + exeinto "${DIR}" + newexe ${MY_PN}.x86_64 ${MY_PN} + doexe UnityPlayer.so + + insinto "${DIR}" + doins -r ${MY_PN}_Data/ + + newicon -s 128 ${MY_PN}_Data/Resources/UnityPlayer.png ${PN}.png + make_wrapper ${PN} "${DIR}"/${MY_PN} + make_desktop_entry ${PN} ${MY_PN} +} |