diff options
Diffstat (limited to 'games-roguelike/FTL-gog')
-rw-r--r-- | games-roguelike/FTL-gog/FTL-gog-1.6.7.18662-r1.ebuild | 63 | ||||
-rw-r--r-- | games-roguelike/FTL-gog/Manifest | 3 | ||||
-rw-r--r-- | games-roguelike/FTL-gog/metadata.xml | 16 |
3 files changed, 82 insertions, 0 deletions
diff --git a/games-roguelike/FTL-gog/FTL-gog-1.6.7.18662-r1.ebuild b/games-roguelike/FTL-gog/FTL-gog-1.6.7.18662-r1.ebuild new file mode 100644 index 000000000000..c606b4d683d1 --- /dev/null +++ b/games-roguelike/FTL-gog/FTL-gog-1.6.7.18662-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop unpacker + +DESCRIPTION="Top-down roguelike space ship simulator" +HOMEPAGE="https://www.gog.com/game/faster_than_light" +SRC_URI="ftl_advanced_edition_en_${PV//./_}.sh" +RESTRICT="bindist fetch mirror strip test" + +LICENSE="GOG-EULA" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="media-libs/freetype + media-libs/libsdl[X,sound,opengl,video] + media-libs/libpng + sys-libs/zlib + virtual/opengl" + +S="${WORKDIR}/data/noarch" + +pkg_nofetch() { + elog "Please buy and download ${SRC_URI} from" + elog "https://www.gog.com/game/faster_than_light" +} + +src_unpack() { + unpack_zip "${DISTDIR}/${A}" +} + +src_prepare() { + default + rm -r support/{xdg*,*.{sh,txt}} || die + if ! use x86; then + rm game/data/FTL.x86 || die + fi + if ! use amd64; then + rm game/data/FTL.amd64 || die + fi + + sed -i start.sh -e '/chmod/d' +} + +src_install() { + insinto /opt/gog/FTL + doins -r . + fperms +x /opt/gog/FTL/{start.sh,game/FTL,game/data/FTL} + + if use x86; then + fperms +x /opt/gog/FTL/game/data/FTL.x86 + fi + if use amd64; then + fperms +x /opt/gog/FTL/game/data/FTL.amd64 + fi + + make_desktop_entry "/opt/gog/FTL/start.sh" "FTL: Advanced Edition" FTL + newicon support/icon.png FTL.png +} diff --git a/games-roguelike/FTL-gog/Manifest b/games-roguelike/FTL-gog/Manifest new file mode 100644 index 000000000000..487f81d3c87a --- /dev/null +++ b/games-roguelike/FTL-gog/Manifest @@ -0,0 +1,3 @@ +DIST ftl_advanced_edition_en_1_6_7_18662.sh 190506416 BLAKE2B 0a628e4de3a5539add2f421377c32ead5397ad1709e30124aa8c9d0874b98eb37cda97873b21dbb78fe635769c1a3c3254988ae22494805409d28f5e33417e44 SHA512 3e9c08d32964e21b49ad3e1b6a17c2349d516fdbea4118518e022134affc43dd27d2e60eea94784096aea4725f2656b43f6b6be9fe02eaed743c167ef842d66b +EBUILD FTL-gog-1.6.7.18662-r1.ebuild 1309 BLAKE2B 5b01fef968088d747e31b903575a13091ebd5fb904ffa61680e06ad3ba922814d92639df5fdfdcabadb518cc7ce9578206ba793d09872898ffa2f1a78816403c SHA512 39da6ae85d68b4b9f763c5f79766f3fd5d62dfa73c0d3fb8ea7ba8c9d190246ff3ee8c1dfcc714f48bbc8d356dc3de30af0818166af73f6d8d73893f67c0d16b +MISC metadata.xml 487 BLAKE2B d1c2761fb3083ba140d1f87b1f52d179095ea37235acc3e0f2586e9b969174cc4aab34648523c6dce9f83499d05624e8afe2782101560e6a39cf61f5a9b27bf7 SHA512 69c1e069878db826f8a7c44d8d9f6349a37a60ec7777ea29886655082b6c57b152ab5cda35bd3126beef0a127472a57b0cc50b941224694446bb2de51bb90d92 diff --git a/games-roguelike/FTL-gog/metadata.xml b/games-roguelike/FTL-gog/metadata.xml new file mode 100644 index 000000000000..727ed940cf5b --- /dev/null +++ b/games-roguelike/FTL-gog/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>kitsunenokenja@protonmail.ch</email> + <name>Rob Levitsky</name> + </maintainer> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> |