summaryrefslogtreecommitdiff
blob: 5f56fd1f5f45a779a854f5cc81e7ec9aa975a2fa (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

inherit git-2 games

DESCRIPTION="Building single/multiplayer game (game)"
HOMEPAGE="http://c55.me/minetest/"
SRC_URI=""

EGIT_REPO_URI="git://github.com/celeron55/${PN}.git"
EGIT_COMMIT="${PV%_pre*}.dev-${PV#*_pre}"

LICENSE="GPL-2 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="games-action/minetest"
DEPEND="${RDEPEND}"

src_unpack() {
	git-2_src_unpack
}

src_install() {
	insinto "${GAMES_DATADIR}"/${PN%_game}/games/${PN}
	doins -r mods || die
	doins game.conf || die

	prepgamesdirs
}