peg-e-1.1.2-r1.ebuild 697 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit eutils gnome2-utils qmake-utils
  5. DESCRIPTION="A peg solitaire game"
  6. HOMEPAGE="http://gottcode.org/peg-e/"
  7. SRC_URI="http://gottcode.org/peg-e/${P}-src.tar.bz2"
  8. LICENSE="GPL-3"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE=""
  12. RDEPEND="dev-qt/qtcore:4
  13. dev-qt/qtgui:4"
  14. DEPEND="${RDEPEND}"
  15. src_configure() {
  16. eqmake4
  17. }
  18. src_install() {
  19. dobin ${PN}
  20. doicon -s 48 icons/hicolor/48x48/apps/${PN}.png
  21. domenu icons/${PN}.desktop
  22. dodoc CREDITS ChangeLog
  23. }
  24. pkg_preinst() {
  25. gnome2_icon_savelist
  26. }
  27. pkg_postinst() {
  28. gnome2_icon_cache_update
  29. }
  30. pkg_postrm() {
  31. gnome2_icon_cache_update
  32. }