Source

nektoo / games-action / minetest-mod-minetest / minetest-mod-minetest-9999.ebuild

Full commit
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

inherit eutils cmake-utils games git

DESCRIPTION="Minimal game mod pack for minetest"
HOMEPAGE="http://c55.me/minetest/"

SRC_URI=""
EGIT_REPO_URI="git://github.com/celeron55/minetest_game.git"

LICENSE="GPL-2"
SLOT="0"

KEYWORDS="~x86 ~amd64"
IUSE=""

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

S="${WORKDIR}/${PN}"

src_unpack() {
	git_src_unpack
	cd ${S}
}

src_install() {
	mkdir -p ${D}/usr/share/minetest/games/minetest_game/
	cp -r ./* ${D}/usr/share/minetest/games/minetest_game/
}