summaryrefslogtreecommitdiff
blob: 881a6f3ce85dae9a2eefa2774b21fba7486b0b4e (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit toolchain-funcs

DESCRIPTION="Clone of a C64 game -  destroy the opponent's house"
HOMEPAGE="https://github.com/kouya/tornado"
SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

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

PATCHES=(
	"${FILESDIR}"/${PF}-gentoo.patch
)

src_prepare() {
	default

	tc-export CC PKG_CONFIG
}

src_install() {
	default
	fperms 664 "/var/games/tornado.scores"
}