diff options
author | James Le Cuirot <chewi@gentoo.org> | 2022-03-09 22:23:39 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2022-03-09 22:23:39 +0000 |
commit | 8ec92faaf7af3001a8750345fe69df99ebacbbfb (patch) | |
tree | 309ebce1d3bf453034b015ed501a356218b9a37f /games-sports/skatebird | |
parent | media-libs/mesa: Drop old versions (diff) | |
download | gentoo-8ec92faaf7af3001a8750345fe69df99ebacbbfb.tar.gz gentoo-8ec92faaf7af3001a8750345fe69df99ebacbbfb.tar.bz2 gentoo-8ec92faaf7af3001a8750345fe69df99ebacbbfb.zip |
games-sports/skatebird: New package
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-sports/skatebird')
-rw-r--r-- | games-sports/skatebird/Manifest | 1 | ||||
-rw-r--r-- | games-sports/skatebird/metadata.xml | 8 | ||||
-rw-r--r-- | games-sports/skatebird/skatebird-12.ebuild | 51 |
3 files changed, 60 insertions, 0 deletions
diff --git a/games-sports/skatebird/Manifest b/games-sports/skatebird/Manifest new file mode 100644 index 000000000000..126f0c6faea1 --- /dev/null +++ b/games-sports/skatebird/Manifest @@ -0,0 +1 @@ +DIST skatebird-linux.zip 1625530960 BLAKE2B 20fa3d6b3651c2faf4db76d27861b08d971b3f3de682e5893d28f207b870572becdb1fd48d93261d3376202202e6dde9ecd2a50d14d84493568b5ffd6801f3ef SHA512 1deeca9b9f5d3d14b0b632e568f2ec148869c04ba3a0042ad10c007229a6fdaad222cedd29a1e3b388f0287b4763e5a595fed5165b66ee15e6ccadcc1d370fd7 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} +} |