diff options
Diffstat (limited to 'games-board/gambit/gambit-1.0.1.ebuild')
-rw-r--r-- | games-board/gambit/gambit-1.0.1.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/games-board/gambit/gambit-1.0.1.ebuild b/games-board/gambit/gambit-1.0.1.ebuild index 9a55d662d01..cd8832041c2 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 |