spacearyarya-kxl-1.0.2-r1.ebuild 808 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit autotools eutils games
  5. MY_P=SpaceAryarya-KXL-${PV}
  6. DESCRIPTION="A 2D/3D shooting game"
  7. HOMEPAGE="http://triring.net/ps2linux/games/kxl/kxlgames.html"
  8. SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
  9. LICENSE="GPL-2"
  10. SLOT="0"
  11. KEYWORDS="amd64 ppc x86"
  12. IUSE=""
  13. DEPEND="dev-games/KXL"
  14. RDEPEND="${DEPEND}
  15. media-fonts/font-adobe-100dpi
  16. media-fonts/font-bitstream-100dpi"
  17. S=${WORKDIR}/${MY_P}
  18. src_prepare() {
  19. epatch "${FILESDIR}"/${P}-gentoo-paths.patch \
  20. "${FILESDIR}"/${P}-flags.patch
  21. mv configure.{in,ac}
  22. rm aclocal.m4
  23. eautoreconf
  24. }
  25. src_install() {
  26. default
  27. newicon bmp/enemy1.bmp ${PN}.bmp
  28. make_desktop_entry spacearyarya SpaceAryarya /usr/share/pixmaps/${PN}.bmp
  29. prepgamesdirs
  30. }