vor-0.5.5.ebuild 888 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit autotools eutils gnome2-utils games
  5. DESCRIPTION="Variations on Rockdodger: Dodge the rocks until you die"
  6. HOMEPAGE="http://jasonwoof.org/vor"
  7. SRC_URI="http://qualdan.com/vor/${P}.tar.bz2"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="amd64 ppc x86"
  11. IUSE=""
  12. DEPEND="media-libs/libsdl[sound,video]
  13. media-libs/sdl-image[png]
  14. media-libs/sdl-mixer[mod]"
  15. RDEPEND="${DEPEND}"
  16. src_prepare() {
  17. epatch "${FILESDIR}/${P}-underlink.patch"
  18. eautoreconf
  19. }
  20. src_install() {
  21. dodir "${GAMES_BINDIR}"
  22. DOCS="README* todo" default
  23. newicon -s 48 data/icon.png ${PN}.png
  24. make_desktop_entry ${PN} VoR
  25. prepgamesdirs
  26. }
  27. pkg_preinst() {
  28. games_pkg_preinst
  29. gnome2_icon_savelist
  30. }
  31. pkg_postinst() {
  32. games_pkg_postinst
  33. gnome2_icon_cache_update
  34. }
  35. pkg_postrm() {
  36. gnome2_icon_cache_update
  37. }