diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
commit | c5283d322accc6097afec74eab24550829788bab (patch) | |
tree | b99ce668128d82a026eaa31461643f9173f9b77b /games-roguelike/FTL-gog | |
parent | 5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (diff) |
gentoo resync : 23.03.2018
Diffstat (limited to 'games-roguelike/FTL-gog')
-rw-r--r-- | games-roguelike/FTL-gog/FTL-gog-1.6.3.ebuild | 54 | ||||
-rw-r--r-- | games-roguelike/FTL-gog/Manifest | 3 | ||||
-rw-r--r-- | games-roguelike/FTL-gog/metadata.xml | 16 |
3 files changed, 73 insertions, 0 deletions
diff --git a/games-roguelike/FTL-gog/FTL-gog-1.6.3.ebuild b/games-roguelike/FTL-gog/FTL-gog-1.6.3.ebuild new file mode 100644 index 000000000000..74c5fc0f33b8 --- /dev/null +++ b/games-roguelike/FTL-gog/FTL-gog-1.6.3.ebuild @@ -0,0 +1,54 @@ +# 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_1_6_3_17917.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 +} + +src_install() { + insinto /opt/gog/FTL + doins -r . + fperms 755 /opt/gog/FTL/{start.sh,game/{FTL,data/FTL*}} + + 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..0b4d17f8399d --- /dev/null +++ b/games-roguelike/FTL-gog/Manifest @@ -0,0 +1,3 @@ +DIST ftl_advanced_edition_en_1_6_3_17917.sh 190333601 BLAKE2B 18fb43da1718524fcdecbde9d9cbfbed84db6e5b3a49abbec9b331d13f9ce7ca807633f3ad126badba9e92278b264ab3de47efabbf772180a35c108ce07268f1 SHA512 6cc3770d9a3d9ac301d79eaee0b88d3d4bbf90186356d443f53d4e894b4cdefd36c080e23506d76e0a3f7e15267e3e206469872cc7b29ddeaa20d520b9dfddd0 +EBUILD FTL-gog-1.6.3.ebuild 1142 BLAKE2B a41b3a5f2d2d0380a8ae3c2894f995ff1ec910d00b639a86e4dce90805ea18ca07055d2b6e3e4a41220901e6bb968ebaf26a7a616ec4669dcac9e8d1c876670b SHA512 4109a10070c0a598c94f2a5722092ffc258738c9c927818f2edddd0288d19cbb9fe8f6ce9ec6bbdc138054fc14f52f1f778f11f0f9a361be272bfe1f53592a62 +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> |