summaryrefslogtreecommitdiff
blob: d4716a1a5e94848e82aa554d04316046cd53e6e7 (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
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop

DESCRIPTION="Fly a plane around and bomb/shoot the enemy (port of Planegame from Amiga)"
HOMEPAGE="https://github.com/moggers87/apricots"
SRC_URI="
	https://github.com/moggers87/apricots/releases/download/v${PV}/${P}.tar.gz
	https://dev.gentoo.org/~ionen/distfiles/${PN}.png"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RESTRICT="test" # this is only static analysis / linter tests

RDEPEND="
	media-libs/alure
	media-libs/freealut
	media-libs/libsdl2[sound,video]
	media-libs/openal"
DEPEND="${RDEPEND}"

src_install() {
	default
	einstalldocs

	insinto /etc
	doins ${PN}/${PN}.cfg

	doicon "${DISTDIR}"/${PN}.png
	make_desktop_entry ${PN} ${PN^}
}