diff options
author | Rob Levitsky <kitsunenokenja@protonmail.ch> | 2018-06-24 11:36:34 -0400 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-07-10 00:01:52 +0200 |
commit | 64b6661c84d92504c3d4032410f9bc49de416aca (patch) | |
tree | b1be46f84df5256a02271bc15e342c579c952acc /games-roguelike/FTL-gog/FTL-gog-1.6.7.18662.ebuild | |
parent | app-crypt/gnupg: mark s390 stable (diff) | |
download | gentoo-64b6661c84d92504c3d4032410f9bc49de416aca.tar.gz gentoo-64b6661c84d92504c3d4032410f9bc49de416aca.tar.bz2 gentoo-64b6661c84d92504c3d4032410f9bc49de416aca.zip |
games-roguelike/FTL-gog: fix shell script perms.
Fixed the permissions on one of the shell scripts called by the start
script and stripped useless chmod calls from that start script.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9089
Diffstat (limited to 'games-roguelike/FTL-gog/FTL-gog-1.6.7.18662.ebuild')
-rw-r--r-- | games-roguelike/FTL-gog/FTL-gog-1.6.7.18662.ebuild | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/games-roguelike/FTL-gog/FTL-gog-1.6.7.18662.ebuild b/games-roguelike/FTL-gog/FTL-gog-1.6.7.18662.ebuild deleted file mode 100644 index 513747171d91..000000000000 --- a/games-roguelike/FTL-gog/FTL-gog-1.6.7.18662.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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 -} - -src_install() { - insinto /opt/gog/FTL - doins -r . - fperms +x /opt/gog/FTL/{start.sh,game/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 -} |