From: Tristan Heaven Date: Sun, 8 Oct 2006 21:28:32 +0000 (+0000) Subject: Fix install path X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c06c2e4a8df5dbe7be15d95be02eda210957b929;p=gentoo.git Fix install path Package-Manager: portage-2.1.2_pre2-r6 --- 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 kcheckers-0.6.ebuild: + Fix install path 07 Aug 2006; kcheckers-0.6.ebuild: ~amd64 bug #142962 diff --git a/games-board/kcheckers/Manifest b/games-board/kcheckers/Manifest index 6597a54ad5fe..ae2d7a24b539 100644 --- a/games-board/kcheckers/Manifest +++ b/games-board/kcheckers/Manifest @@ -1,12 +1,12 @@ DIST kcheckers-0.6.tar.gz 104174 RMD160 6a14bc63bf6abc762e6aa67d1868879640dadee8 SHA1 a63e28bc4b9c60b34006594dd10f720ab85c25ef SHA256 7907bed311db26240dec322c3af5161de99806cc2e400586a258f11eebcd0a35 -EBUILD kcheckers-0.6.ebuild 826 RMD160 6c1cc4a74176ffb21deda5286dcfe5832e0f4fc9 SHA1 fdef823f6307081449a9ca9ec01a64c9fb7eabe4 SHA256 31b2ab1f18d50d735c204e47262a3650d849b4a916787b9f396c98d9af8ea38b -MD5 2d99a778887cc5ad41af1d594f77ac43 kcheckers-0.6.ebuild 826 -RMD160 6c1cc4a74176ffb21deda5286dcfe5832e0f4fc9 kcheckers-0.6.ebuild 826 -SHA256 31b2ab1f18d50d735c204e47262a3650d849b4a916787b9f396c98d9af8ea38b kcheckers-0.6.ebuild 826 -MISC ChangeLog 1093 RMD160 900050c303c0cc613ba0222e0a9c166aa64e9976 SHA1 1ab2247a127bdd5ff7e0ae2cb3585df512d6b44e SHA256 74f397afdfdab69e41c0022072ca538b05c03937d03bf873581db4fc0addb2ba -MD5 e8ec806ea2a175836e65b57eb26fc06e ChangeLog 1093 -RMD160 900050c303c0cc613ba0222e0a9c166aa64e9976 ChangeLog 1093 -SHA256 74f397afdfdab69e41c0022072ca538b05c03937d03bf873581db4fc0addb2ba ChangeLog 1093 +EBUILD kcheckers-0.6.ebuild 891 RMD160 b1d7ae522596c3286f96856683f3a52874598d74 SHA1 d6bdd46fad9e9b752dd0f9e14d5c28b019ed780e SHA256 2bcc447fd504bf21e70bc443720c512af75b074a7c76b1f44b15aac11357a299 +MD5 6a2f43c79d299f50345916f60cd933c2 kcheckers-0.6.ebuild 891 +RMD160 b1d7ae522596c3286f96856683f3a52874598d74 kcheckers-0.6.ebuild 891 +SHA256 2bcc447fd504bf21e70bc443720c512af75b074a7c76b1f44b15aac11357a299 kcheckers-0.6.ebuild 891 +MISC ChangeLog 1183 RMD160 734d6febafae551cbc652dc8b8ba2d2210e3b301 SHA1 ec13be4537d172eb5360ee47174136e46460a819 SHA256 b133c2cdf644a2b6b0e86730d06bddd128eaa8226b243e70acdc687cd43e6dab +MD5 16ead604be3c5a67d1a073dffc50b43f ChangeLog 1183 +RMD160 734d6febafae551cbc652dc8b8ba2d2210e3b301 ChangeLog 1183 +SHA256 b133c2cdf644a2b6b0e86730d06bddd128eaa8226b243e70acdc687cd43e6dab ChangeLog 1183 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 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 }