summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-10 20:26:49 -0500
committerMike Frysinger <vapier@gentoo.org>2015-11-10 20:53:23 -0500
commit2347c6fe886c6b89d93ffac0faf375a613c372b1 (patch)
tree9ac1ed0abe7e86cbfe62a110a23675af21655134 /games-board/gambit
parentnet-libs/mbedtls: version bump to 2.1.3 (diff)
downloadgentoo-2347c6fe886c6b89d93ffac0faf375a613c372b1.tar.gz
gentoo-2347c6fe886c6b89d93ffac0faf375a613c372b1.tar.bz2
gentoo-2347c6fe886c6b89d93ffac0faf375a613c372b1.zip
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.
Diffstat (limited to 'games-board/gambit')
-rw-r--r--games-board/gambit/gambit-1.0.1.ebuild12
-rw-r--r--games-board/gambit/gambit-1.0.3.ebuild12
2 files changed, 16 insertions, 8 deletions
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