From 2347c6fe886c6b89d93ffac0faf375a613c372b1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 10 Nov 2015 20:26:49 -0500 Subject: avoid using ${var^} and ${var,} as they do not work in bash-3.2 Once these upgrade to EAPI=6, they can use these case modification features, so leave a reminder note in there. --- games-board/gambit/gambit-1.0.1.ebuild | 12 ++++++++---- games-board/gambit/gambit-1.0.3.ebuild | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) (limited to 'games-board') diff --git a/games-board/gambit/gambit-1.0.1.ebuild b/games-board/gambit/gambit-1.0.1.ebuild index 9a55d662d015..cd8832041c26 100644 --- a/games-board/gambit/gambit-1.0.1.ebuild +++ b/games-board/gambit/gambit-1.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -7,9 +7,12 @@ EAPI="5" CMAKE_IN_SOURCE_BUILD=true inherit cmake-utils games +# Switch to ^ when we switch to EAPI=6. +MY_P="G${P:1}" + DESCRIPTION="Qt-based chess application + engine \"gupta\"" HOMEPAGE="http://sourceforge.net/projects/gambitchess/" -SRC_URI="mirror://sourceforge/project/${PN}chess/${PN^}-${PV}/${PN^}-${PV}-src.tar.bz2" +SRC_URI="mirror://sourceforge/project/${PN}chess/${MY_P}/${MY_P}-src.tar.bz2" LICENSE="CC0-1.0" SLOT="0" @@ -23,7 +26,7 @@ DEPEND="dev-qt/qtcore:4 x11-libs/libX11" RDEPEND="${DEPEND}" -S="${WORKDIR}"/${PN^}-${PV}-src +S="${WORKDIR}/${MY_P}-src" src_configure() { local mycmakeargs=( @@ -45,7 +48,8 @@ src_install() { doins -r data/* || die doicon artwork/icons/${PN}/${PN}.svg - make_desktop_entry ${PN}chess ${PN^} ${PN} Game || die + # Switch to ^ when we switch to EAPI=6. + make_desktop_entry ${PN}chess G${PN:1} ${PN} Game || die dodoc doc/contributors.txt || die dogamesbin engine/gupta/gupta || die diff --git a/games-board/gambit/gambit-1.0.3.ebuild b/games-board/gambit/gambit-1.0.3.ebuild index 9a55d662d015..cd8832041c26 100644 --- a/games-board/gambit/gambit-1.0.3.ebuild +++ b/games-board/gambit/gambit-1.0.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -7,9 +7,12 @@ EAPI="5" CMAKE_IN_SOURCE_BUILD=true inherit cmake-utils games +# Switch to ^ when we switch to EAPI=6. +MY_P="G${P:1}" + DESCRIPTION="Qt-based chess application + engine \"gupta\"" HOMEPAGE="http://sourceforge.net/projects/gambitchess/" -SRC_URI="mirror://sourceforge/project/${PN}chess/${PN^}-${PV}/${PN^}-${PV}-src.tar.bz2" +SRC_URI="mirror://sourceforge/project/${PN}chess/${MY_P}/${MY_P}-src.tar.bz2" LICENSE="CC0-1.0" SLOT="0" @@ -23,7 +26,7 @@ DEPEND="dev-qt/qtcore:4 x11-libs/libX11" RDEPEND="${DEPEND}" -S="${WORKDIR}"/${PN^}-${PV}-src +S="${WORKDIR}/${MY_P}-src" src_configure() { local mycmakeargs=( @@ -45,7 +48,8 @@ src_install() { doins -r data/* || die doicon artwork/icons/${PN}/${PN}.svg - make_desktop_entry ${PN}chess ${PN^} ${PN} Game || die + # Switch to ^ when we switch to EAPI=6. + make_desktop_entry ${PN}chess G${PN:1} ${PN} Game || die dodoc doc/contributors.txt || die dogamesbin engine/gupta/gupta || die -- cgit v1.2.3-65-gdbad