Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: funtoo.org
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (33 sloc) 0.995 kB
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/kcheckers-0.8.1.ebuild,v 1.10 2013/03/02 21:12:39 hwoarang Exp $
EAPI=2
inherit eutils qt4-r2 games
DESCRIPTION="Qt version of the classic boardgame checkers"
HOMEPAGE="http://qcheckers.sourceforge.net/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc x86"
IUSE=""
DEPEND="dev-qt/qtgui:4"
src_prepare() {
sed -i \
-e "s:/usr/local:${GAMES_DATADIR}:" \
common.h || die "sed common.h failed"
sed -i \
-e "s:PREFIX\"/share:\"${GAMES_DATADIR}:" \
main.cc toplevel.cc || die "sed failed"
}
src_configure() {
qt4-r2_src_configure
}
src_install() {
dogamesbin kcheckers || die
insinto "${GAMES_DATADIR}"/${PN}
doins -r i18n/* themes || die
newicon icons/biglogo.png ${PN}.png
make_desktop_entry ${PN} KCheckers
dodoc AUTHORS ChangeLog FAQ README TODO
prepgamesdirs
}
Jump to Line
Something went wrong with that request. Please try again.