1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Color lines game written with SDL with bonus features"
8 HOMEPAGE="https://github.com/OpenA/color-lines-sdl"
9 SRC_URI="https://color-lines.googlecode.com/files/lines_${PV}.tar.gz"
13 KEYWORDS="~amd64 ~x86 ~amd64-linux"
16 media-libs/libsdl[X,sound,video]
17 media-libs/sdl-image[png]
18 media-libs/sdl-mixer[wav,mod]
22 S="${WORKDIR}/lines-${PV}"
26 eapply "${FILESDIR}/${P}-Makefile.patch"
31 -e '/^Icon/s/.png//' \
32 color-lines.desktop.in || die 'sed on color-lines.desktop.in failed'
36 emake BINDIR="${EPREFIX}/usr/bin/" GAMEDATADIR="${EPREFIX}/usr/share/${PN}/"
40 insinto "/usr/share/${PN}"