qcheckers-20091230.ebuild 631 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils qt4-r2 games
  5. MY_PN=${PN/qc/QC}
  6. DESCRIPTION="Qt4 based checkers game"
  7. HOMEPAGE="https://code.google.com/p/qcheckers/"
  8. SRC_URI="https://qcheckers.googlecode.com/files/${MY_PN}-${PV}.tar.gz"
  9. LICENSE="GPL-3"
  10. SLOT="0"
  11. KEYWORDS="amd64 x86"
  12. IUSE=""
  13. DEPEND="dev-qt/qtgui:4"
  14. RDEPEND=${DEPEND}
  15. S=${WORKDIR}/${MY_PN}
  16. src_configure() {
  17. eqmake4 ${MY_PN}.pro
  18. }
  19. src_install() {
  20. dogamesbin ${MY_PN}
  21. newicon icons/help-about.png ${PN}.png
  22. make_desktop_entry ${MY_PN} ${MY_PN}
  23. dodoc README
  24. prepgamesdirs
  25. }