blob: 7bbb9fa2dc2be81ef3993a3b1d74888e8509420c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop wrapper
MY_P="${PN}-src-${PV}"
DESCRIPTION="A NES-like platform arcade game"
HOMEPAGE="http://remar.se/andreas/retrobattle/"
SRC_URI="http://remar.se/andreas/retrobattle/files/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}/src"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# test is incomplete
RESTRICT="test"
DEPEND="
media-libs/libsdl[X,sound,video]
media-libs/sdl-mixer[wav]
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-{build,sound,gcc6}.patch
)
src_install() {
insinto /usr/share/${PN}
doins -r "${WORKDIR}"/${MY_P}/data
newbin "${WORKDIR}"/${MY_P}/${PN} ${PN}.bin
make_wrapper ${PN} "${PN}.bin \"/usr/share/${PN}\""
make_desktop_entry ${PN}
dodoc "${WORKDIR}"/${MY_P}/{manual.txt,README}
}
|