diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2006-10-08 21:28:32 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2006-10-08 21:28:32 +0000 |
commit | 83bda38e6fc427a453926f8f3d38007cd2e11ecc (patch) | |
tree | a0f81ef1fdc0c509eb00a6f35112549161dd5e51 /games-board/kcheckers | |
parent | Initial commit, thanks to Elias Probst in bug #126146 for providing the ebuild (diff) | |
download | gentoo-2-83bda38e6fc427a453926f8f3d38007cd2e11ecc.tar.gz gentoo-2-83bda38e6fc427a453926f8f3d38007cd2e11ecc.tar.bz2 gentoo-2-83bda38e6fc427a453926f8f3d38007cd2e11ecc.zip |
Fix install path
(Portage version: 2.1.2_pre2-r6)
Diffstat (limited to 'games-board/kcheckers')
-rw-r--r-- | games-board/kcheckers/ChangeLog | 5 | ||||
-rw-r--r-- | games-board/kcheckers/kcheckers-0.6.ebuild | 22 |
2 files changed, 18 insertions, 9 deletions
diff --git a/games-board/kcheckers/ChangeLog b/games-board/kcheckers/ChangeLog index e3ff19318ac2..a5b2f85cb359 100644 --- a/games-board/kcheckers/ChangeLog +++ b/games-board/kcheckers/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-board/kcheckers # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/ChangeLog,v 1.8 2006/08/07 22:07:52 malc Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/ChangeLog,v 1.9 2006/10/08 21:28:32 nyhm Exp $ + + 08 Oct 2006; Tristan Heaven <nyhm@gentoo.org> kcheckers-0.6.ebuild: + Fix install path 07 Aug 2006; <malc@gentoo.org> kcheckers-0.6.ebuild: ~amd64 bug #142962 diff --git a/games-board/kcheckers/kcheckers-0.6.ebuild b/games-board/kcheckers/kcheckers-0.6.ebuild index 0055189b5ef6..170abf17ff18 100644 --- a/games-board/kcheckers/kcheckers-0.6.ebuild +++ b/games-board/kcheckers/kcheckers-0.6.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/kcheckers-0.6.ebuild,v 1.4 2006/08/07 22:07:52 malc Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/kcheckers-0.6.ebuild,v 1.5 2006/10/08 21:28:32 nyhm Exp $ inherit qt3 games -DESCRIPTION="Qt version of the classic boardgame checkers." +DESCRIPTION="Qt version of the classic boardgame checkers" HOMEPAGE="http://kcheckers.org/" SRC_URI="http://kcheckers.org/${P}.tar.gz" LICENSE="GPL-2" @@ -13,12 +13,18 @@ SLOT="0" KEYWORDS="~amd64 ~ppc x86" IUSE="" -DEPEND="=x11-libs/qt-3*" +DEPEND="$(qt_min_version 3.3)" -src_compile() { - sed -i -e 's,/usr/local,/usr,' config.h kcheckers.pro +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i "s:/usr/local/share:${GAMES_DATADIR}:" \ + config.h || die "sed failed" +} - ${QTDIR}/bin/qmake || die "qmake failed" +src_compile() { + "${QTDIR}"/bin/qmake || die "qmake failed" emake || die "emake failed" } @@ -26,8 +32,8 @@ src_install() { dogamesbin kcheckers || die "dogamesbin failed" dodoc AUTHORS ChangeLog README TODO - insinto /usr/share/kcheckers - doins i18n/kcheckers_de.qm i18n/kcheckers_ru.qm kcheckers.pdn + insinto "${GAMES_DATADIR}"/${PN} + doins i18n/* kcheckers.pdn || die "doins failed" prepgamesdirs } |