diff options
Diffstat (limited to 'games-sports/skatebird')
-rw-r--r-- | games-sports/skatebird/Manifest | 3 | ||||
-rw-r--r-- | games-sports/skatebird/metadata.xml | 8 | ||||
-rw-r--r-- | games-sports/skatebird/skatebird-12.ebuild | 51 |
3 files changed, 62 insertions, 0 deletions
diff --git a/games-sports/skatebird/Manifest b/games-sports/skatebird/Manifest new file mode 100644 index 000000000000..0af1ff066615 --- /dev/null +++ b/games-sports/skatebird/Manifest @@ -0,0 +1,3 @@ +DIST skatebird-linux.zip 1625530960 BLAKE2B 20fa3d6b3651c2faf4db76d27861b08d971b3f3de682e5893d28f207b870572becdb1fd48d93261d3376202202e6dde9ecd2a50d14d84493568b5ffd6801f3ef SHA512 1deeca9b9f5d3d14b0b632e568f2ec148869c04ba3a0042ad10c007229a6fdaad222cedd29a1e3b388f0287b4763e5a595fed5165b66ee15e6ccadcc1d370fd7 +EBUILD skatebird-12.ebuild 1076 BLAKE2B 999f83a5120c4ad5ab4e99f4e674129bfcfee8ba273ba9219db25f9b7ec64a17b9ef365cb2baee7cf45f5b92cdb44ed3bf2c098f24e2976277dd62248ba09b0e SHA512 cb239a6b9c0597740e0d446b34bd6b4bd8c49282a3402eaf405e3b184d6ecb8a552658c997436a2186c0bf45e6866ce316fc6e82662226b815a5421779e3f095 +MISC metadata.xml 254 BLAKE2B 4e6c8e1f126f76233a38aba6f5388488656795cb1d7d4767ccb1349772f5e78d59fc5663d4f1933dbe4633c2fbb90cd1d42d4b4d4f5ededc53653e7df13c7187 SHA512 2b82da849e3b0dec378f3fb497014f5d1dbc7aceb8a1f9d1638e83fe69448b1c5151eb4b1187154d828e4a296609ce5125b40977b2581d95b5588e353ca75135 diff --git a/games-sports/skatebird/metadata.xml b/games-sports/skatebird/metadata.xml new file mode 100644 index 000000000000..7c730d47817a --- /dev/null +++ b/games-sports/skatebird/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> diff --git a/games-sports/skatebird/skatebird-12.ebuild b/games-sports/skatebird/skatebird-12.ebuild new file mode 100644 index 000000000000..fa99f085ac4a --- /dev/null +++ b/games-sports/skatebird/skatebird-12.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} +} |