1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="A Sokoban-styled puzzle game with lots more action"
9 HOMEPAGE="http://xpired.sourceforge.net"
10 SRC_URI="mirror://sourceforge/xpired/${P}-linux_source.tar.gz"
14 KEYWORDS="amd64 ~ppc x86"
17 DEPEND="media-libs/sdl-gfx
18 media-libs/sdl-image[jpeg]
19 media-libs/sdl-mixer[mod]"
25 epatch "${FILESDIR}"/${P}-ldflags.patch
31 SHARE_PREFIX=/usr/share/games/xpired
36 PREFIX="${D}/usr/games" \
37 SHARE_PREFIX="${D}/usr/share/games/${PN}" \
39 newicon img/icon.bmp ${PN}.bmp
40 make_desktop_entry xpired Xpired /usr/share/pixmaps/${PN}.bmp
41 make_desktop_entry xpiredit "Xpired Level Editor"