summaryrefslogtreecommitdiff
path: root/games-action
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2014-06-23 17:32:32 +0400
committerGluzskiy Alexandr <sss123next@list.ru>2014-06-23 17:32:32 +0400
commitff0b045cdf03d98d339cff2d4c7d06e2d29be40d (patch)
tree3656ea2e2f725f00667e64a0fe8333358c169f31 /games-action
parent62e2804233a24add18e185f62b8a42f22d2a5d64 (diff)
new file: games-action/minetest/Manifest
new file: games-action/minetest/files/minetestserver.confd new file: games-action/minetest/files/minetestserver.initd new file: games-action/minetest/metadata.xml new file: games-action/minetest/minetest-scm.ebuild new file: games-action/minetest_build/Manifest new file: games-action/minetest_build/metadata.xml new file: games-action/minetest_build/minetest_build-scm.ebuild new file: games-action/minetest_common/Manifest new file: games-action/minetest_common/metadata.xml new file: games-action/minetest_common/minetest_common-scm.ebuild new file: games-action/minetest_game/Manifest new file: games-action/minetest_game/metadata.xml new file: games-action/minetest_game/minetest_game-scm.ebuild new file: games-action/minetest_survival/Manifest new file: games-action/minetest_survival/metadata.xml new file: games-action/minetest_survival/minetest_survival-scm.ebuild
Diffstat (limited to 'games-action')
-rw-r--r--games-action/minetest/Manifest4
-rw-r--r--games-action/minetest/files/minetestserver.confd16
-rw-r--r--games-action/minetest/files/minetestserver.initd36
-rw-r--r--games-action/minetest/metadata.xml45
-rw-r--r--games-action/minetest/minetest-scm.ebuild126
-rw-r--r--games-action/minetest_build/Manifest2
-rw-r--r--games-action/minetest_build/metadata.xml9
-rw-r--r--games-action/minetest_build/minetest_build-scm.ebuild29
-rw-r--r--games-action/minetest_common/Manifest2
-rw-r--r--games-action/minetest_common/metadata.xml9
-rw-r--r--games-action/minetest_common/minetest_common-scm.ebuild28
-rw-r--r--games-action/minetest_game/Manifest2
-rw-r--r--games-action/minetest_game/metadata.xml9
-rw-r--r--games-action/minetest_game/minetest_game-scm.ebuild30
-rw-r--r--games-action/minetest_survival/Manifest2
-rw-r--r--games-action/minetest_survival/metadata.xml9
-rw-r--r--games-action/minetest_survival/minetest_survival-scm.ebuild29
17 files changed, 387 insertions, 0 deletions
diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
new file mode 100644
index 0000000..602c2ef
--- /dev/null
+++ b/games-action/minetest/Manifest
@@ -0,0 +1,4 @@
+AUX minetestserver.confd 313 SHA256 b360d2f80fb9793994a33778ef907a5b9220ba0a6a8a312d75499718cb9b5f81 SHA512 96fe764d78b383f294bce81e8631861057f309fd9d13f9397ca0c715396f3793f201f313a3507c0b190f41891441eb4fe418b5888cb73ffdea0d27969d0172c3 WHIRLPOOL 6be18593d29f593904760e19486eb77b3ac6bb6b02eaf7de54aba7f5cc117ebafa6ab355787015d3fc2baec6ef8368b3dc8e37bf5df9a901595ccc082adae941
+AUX minetestserver.initd 570 SHA256 15d567577377cb8c2d6dc6e38b90e83aa08217ce4aa01e5f77b2b636c81c9e41 SHA512 dc0f106812bc52eec9436a9367b8eba0814642e8b74109c870046f8f9575ebb29561c168e05fe2b1faf12c17329cdc6b76442707ffe7dbe8fb7ee8cd4bb797c2 WHIRLPOOL 2ba91a77122142512c3123efc34dd19fd1437b68bcc1a51e17cd40040f3f6fc955927533472b98be047536db26679e45d5d54c2ad8512e9fe67bffd84a655e4e
+EBUILD minetest-9999.ebuild 2832 SHA256 2eec0c8146f6e9b2ac96924bd7f7444763f764d3750a6fe55414b7c207379db0 SHA512 ac76345ecd13ef880e4e604bc03f937340b6d1ae804f621a03d7450861ee3e887ab1e65b934d0343da03525f23a41cbaf351d2ea0a4701b32690309cb42ee5fe WHIRLPOOL a36980c850bea6e5c6e766c91f76eb2d79e7aa8fdfaa55cbfe6ef73cf46e19d0de8c46162effdf984dc9a823e041c15ca0811f53eb82c4a88b992ce8b1ae7ef0
+MISC metadata.xml 1778 SHA256 9bf4b1b712592fe4307abd2481952432732640db369426fd55a4861845578801 SHA512 bf2498db5d64b2f4d82a0f1c03f43cf67fe292dc8c641555792c1101be7beae3afa2b98622b6b729c5bedfca1ea6d844d7b8abf3c97518903b4c70db8fb27b09 WHIRLPOOL 7fdffec8faea204e646c521fa6b4eaf731b60393795def35ff471e1325e7c93c94eaa6efcc37d989cb9759478e1464095e8824cc5f38d88fd07c40608e6aad6b
diff --git a/games-action/minetest/files/minetestserver.confd b/games-action/minetest/files/minetestserver.confd
new file mode 100644
index 0000000..ec3d013
--- /dev/null
+++ b/games-action/minetest/files/minetestserver.confd
@@ -0,0 +1,16 @@
+# /etc/conf.d/minetest-server: config file for /etc/init.d/minetest-server
+
+# user
+USER="minetest"
+
+# group
+GROUP="@GROUP@"
+
+# pidfile
+PIDFILE="/var/run/minetest.pid"
+
+# executable
+MINETESTBIN="@BINDIR@/minetestserver"
+
+# additional arguments for the server
+ARGS="--logfile /var/lib/minetest/minetest-server.log"
diff --git a/games-action/minetest/files/minetestserver.initd b/games-action/minetest/files/minetestserver.initd
new file mode 100644
index 0000000..e0a33d9
--- /dev/null
+++ b/games-action/minetest/files/minetestserver.initd
@@ -0,0 +1,36 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+description="Minetest dedicated server"
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "starting server"
+ start-stop-daemon \
+ --start \
+ --quiet \
+ --make-pidfile \
+ --pidfile "${PIDFILE}" \
+ --background \
+ --user ${USER} \
+ --group ${GROUP} \
+ --exec "${MINETESTBIN}" -- ${ARGS}
+
+ eend $?
+}
+
+stop() {
+ ebegin "stopping server"
+ start-stop-daemon \
+ --stop \
+ --signal 15 \
+ --quiet \
+ --pidfile "${PIDFILE}"
+
+ eend $?
+}
diff --git a/games-action/minetest/metadata.xml b/games-action/minetest/metadata.xml
new file mode 100644
index 0000000..351ab36
--- /dev/null
+++ b/games-action/minetest/metadata.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+ <longdescription lang="en">
+ Minetest is an infinite-world block sandbox game and a game
+ engine, inspired by InfiniMiner, Minecraft and the like. It has
+ been in development and use since October 2010.
+
+ It is Free and Open Source Software, released under the LGPL 2.1
+ or later, available for Windows, Mac OS X and Linux.
+
+ Minetest is developed by a random bunch of lunatics.
+
+ Minetest is designed to be simple, stable and portable. It is
+ lightweight enough to run on fairly old hardware. It currently
+ runs playably on a laptop with Intel 945GM graphics. Though, as
+ for the CPU, dualcore is recommended.
+
+ Features
+ * Walk around, dig and build in an infinite voxel world,
+ and craft stuff from raw materials to help you along the way.
+ * Simplistic Modding API that supports many kinds of additions
+ and modifications to the game.
+ * Multiplayer support for tens of players, via servers hosted by
+ users.
+ * Voxel based lighting with gameplay consequences
+ (light caves and buildings with torches)
+ * Almost infinite world and a beautiful map generator.
+ * Runs natively on Windows, Linux, OS X and FreeBSD.
+ * Supports multiple languages, translated by the community.
+ </longdescription>
+ <use>
+ <flag name="leveldb">Enable LevelDB backend</flag>
+ <flag name="server">Build minetest server</flag>
+ </use>
+ <upstream>
+ <bugs-to>https://github.com/minetest/minetest/issues</bugs-to>
+ <doc lang="en">http://wiki.minetest.net/Main_Page</doc>
+ <remote-id type="github">minetest/minetest</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-action/minetest/minetest-scm.ebuild b/games-action/minetest/minetest-scm.ebuild
new file mode 100644
index 0000000..f9a26e9
--- /dev/null
+++ b/games-action/minetest/minetest-scm.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit eutils cmake-utils git-2 gnome2-utils vcs-snapshot user games
+
+DESCRIPTION="An InfiniMiner/Minecraft inspired game"
+HOMEPAGE="http://c55.me/minetest/"
+EGIT_REPO_URI="git://github.com/minetest/${PN}.git"
+
+LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS=""
+IUSE="+curl dedicated leveldb luajit nls +server +sound +truetype"
+
+RDEPEND="dev-db/sqlite:3
+ >=dev-games/irrlicht-1.8-r2
+ >=dev-lang/lua-5.1.4
+ sys-libs/zlib
+ curl? ( net-misc/curl )
+ !dedicated? (
+ app-arch/bzip2
+ media-libs/libpng:0
+ virtual/jpeg
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXxf86vm
+ sound? (
+ media-libs/libogg
+ media-libs/libvorbis
+ media-libs/openal
+ )
+ truetype? ( media-libs/freetype:2 )
+ )
+ leveldb? ( dev-libs/leveldb )
+ luajit? ( dev-lang/luajit:2 )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+ games_pkg_setup
+
+ if use server || use dedicated ; then
+ enewuser ${PN} -1 -1 /var/lib/${PN} ${GAMES_GROUP}
+ fi
+}
+
+src_unpack() {
+ git-2_src_unpack
+}
+
+src_prepare() {
+ # set paths
+ sed \
+ -e "s#@BINDIR@#${GAMES_BINDIR}#g" \
+ -e "s#@GROUP@#${GAMES_GROUP}#g" \
+ "${FILESDIR}"/minetestserver.confd > "${T}"/minetestserver.confd || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DRUN_IN_PLACE=0
+ -DCUSTOM_SHAREDIR="${GAMES_DATADIR}/${PN}"
+ -DCUSTOM_BINDIR="${GAMES_BINDIR}"
+ -DCUSTOM_DOCDIR="/usr/share/doc/${PF}"
+ -DCUSTOM_LOCALEDIR="/usr/share/locale"
+ $(usex dedicated "-DBUILD_SERVER=ON -DBUILD_CLIENT=OFF" "$(cmake-utils_use_build server SERVER) -DBUILD_CLIENT=ON")
+ $(cmake-utils_use_enable nls GETTEXT)
+ $(cmake-utils_use_enable curl CURL)
+ $(cmake-utils_use_enable truetype FREETYPE)
+ $(cmake-utils_use_enable sound SOUND)
+ $(cmake-utils_use_enable leveldb LEVELDB)
+ $(cmake-utils_use_use luajit LUAJIT)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use server || use dedicated ; then
+ newinitd "${FILESDIR}"/minetestserver.initd minetest-server
+ newconfd "${T}"/minetestserver.confd minetest-server
+ fi
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+
+ if ! use dedicated ; then
+ elog
+ elog "optional dependencies:"
+ elog " games-action/minetest_game (official mod)"
+ elog " games-action/minetest_common (official mod)"
+ elog " games-action/minetest_build (official mod)"
+ elog " games-action/minetest_survival (official mod)"
+ elog
+ fi
+
+ if use server || use dedicated ; then
+ elog
+ elog "Configure your server via /etc/conf.d/minetest-server"
+ elog "The user \"minetest\" is created with /var/lib/${PN} homedir."
+ elog "Default logfile is ~/minetest-server.log"
+ elog
+ fi
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-action/minetest_build/Manifest b/games-action/minetest_build/Manifest
new file mode 100644
index 0000000..1abc5d0
--- /dev/null
+++ b/games-action/minetest_build/Manifest
@@ -0,0 +1,2 @@
+EBUILD minetest_build-9999.ebuild 538 SHA256 427df1505bbcd2068200c11b4ec89cb44072b0ed24ed949b268fdd40608a6919 SHA512 1d63ac7578f8cb3d5f0acd42dfb48e92b7516459e29e2d9925cbdbe3c016f456854b4d1d26aca169e5bf1744f34cd7e5de6723ef7dfeec6074be200172ca6dde WHIRLPOOL 64a9adb8efbdad4c109d92f84eaa2aab287d0decc5e28d2665995cd55b9b5d19a27f9013b48438f501567127c4a025b82e332347269fb0ca5798531d9b3cf236
+MISC metadata.xml 235 SHA256 11ffaf6c7e9d3f8dbb48fb60cd443d87b61015bc3197206ca230f5c2b0c1e013 SHA512 8ff2114c96567a53f83cd07149d1530286182f54b3d1286b9ceccea41e85734be19d0f60876c73880d76baac48e698de91114bfda459e2ee6ade9c3237847133 WHIRLPOOL bd4bb26791fe245f1c2407aa690887524eef3e76de87b4f2b7049f436661ee78a669e4fe4415e227aa50ee404bbfbaf1822fa648792919f93cb3674fa0f55858
diff --git a/games-action/minetest_build/metadata.xml b/games-action/minetest_build/metadata.xml
new file mode 100644
index 0000000..bfabcd0
--- /dev/null
+++ b/games-action/minetest_build/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/games-action/minetest_build/minetest_build-scm.ebuild b/games-action/minetest_build/minetest_build-scm.ebuild
new file mode 100644
index 0000000..bc685ea
--- /dev/null
+++ b/games-action/minetest_build/minetest_build-scm.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit git-2 games
+
+DESCRIPTION="Build/Minetest"
+HOMEPAGE="https://github.com/minetest/build"
+EGIT_REPO_URI="git://github.com/minetest/build.git"
+
+LICENSE="GPL-2 CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="~games-action/minetest-${PV}"
+
+src_unpack() {
+ git-2_src_unpack
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/minetest/games/build
+ doins -r mods
+ doins game.conf
+
+ prepgamesdirs
+}
diff --git a/games-action/minetest_common/Manifest b/games-action/minetest_common/Manifest
new file mode 100644
index 0000000..b634a11
--- /dev/null
+++ b/games-action/minetest_common/Manifest
@@ -0,0 +1,2 @@
+EBUILD minetest_common-9999.ebuild 530 SHA256 6d8bbfcf266729f34da49b60fe5fd9b75e13156738032001243c7d37ce691222 SHA512 b3c42289c62d6f87753bbef455fa14334d1d08df5ffa9d34bd261495f0285620e5f7fcfeaaf6896f843a56ac2ea930c0d5e9f6b2b740c7f7474ca77bf857ebb5 WHIRLPOOL 5f1fba19fd7368cf0c62d7466d1ce90340be10a3c1c667dab18820194efa6455279d0c934a6eaf91af9c72cd05191eb26e3c7db4c94e8886c9bc8a1b6ed58a18
+MISC metadata.xml 235 SHA256 11ffaf6c7e9d3f8dbb48fb60cd443d87b61015bc3197206ca230f5c2b0c1e013 SHA512 8ff2114c96567a53f83cd07149d1530286182f54b3d1286b9ceccea41e85734be19d0f60876c73880d76baac48e698de91114bfda459e2ee6ade9c3237847133 WHIRLPOOL bd4bb26791fe245f1c2407aa690887524eef3e76de87b4f2b7049f436661ee78a669e4fe4415e227aa50ee404bbfbaf1822fa648792919f93cb3674fa0f55858
diff --git a/games-action/minetest_common/metadata.xml b/games-action/minetest_common/metadata.xml
new file mode 100644
index 0000000..bfabcd0
--- /dev/null
+++ b/games-action/minetest_common/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/games-action/minetest_common/minetest_common-scm.ebuild b/games-action/minetest_common/minetest_common-scm.ebuild
new file mode 100644
index 0000000..7cb51d2
--- /dev/null
+++ b/games-action/minetest_common/minetest_common-scm.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit git-2 games
+
+DESCRIPTION="Minetest Common Mods"
+HOMEPAGE="https://github.com/minetest/common"
+EGIT_REPO_URI="git://github.com/minetest/common.git"
+
+LICENSE="GPL-2 CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="~games-action/minetest-${PV}"
+
+src_unpack() {
+ git-2_src_unpack
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/minetest/games/common
+ doins -r mods
+
+ prepgamesdirs
+}
diff --git a/games-action/minetest_game/Manifest b/games-action/minetest_game/Manifest
new file mode 100644
index 0000000..11c2703
--- /dev/null
+++ b/games-action/minetest_game/Manifest
@@ -0,0 +1,2 @@
+EBUILD minetest_game-9999.ebuild 605 SHA256 b7b339eb848ad67603b9a24645d25555d0788783e30b474edc2abd42f62731c7 SHA512 710bea3516bf43f4d449e04c78a969320cf419994ab6a3bc7d42c6813bb4fe15b7b9aef97e4813c7c622caf7d947bd30bfaddc419c188c67cbd1ba33eb466da6 WHIRLPOOL 4630cef14b0a891ed0601f86ec5be94e77dbde85ad6be08e1abed7665ddd109a66ed15860a4fbbfb52fbe41544adbe649cfd5df16a142f0256f3a9d6f705e6a0
+MISC metadata.xml 235 SHA256 11ffaf6c7e9d3f8dbb48fb60cd443d87b61015bc3197206ca230f5c2b0c1e013 SHA512 8ff2114c96567a53f83cd07149d1530286182f54b3d1286b9ceccea41e85734be19d0f60876c73880d76baac48e698de91114bfda459e2ee6ade9c3237847133 WHIRLPOOL bd4bb26791fe245f1c2407aa690887524eef3e76de87b4f2b7049f436661ee78a669e4fe4415e227aa50ee404bbfbaf1822fa648792919f93cb3674fa0f55858
diff --git a/games-action/minetest_game/metadata.xml b/games-action/minetest_game/metadata.xml
new file mode 100644
index 0000000..bfabcd0
--- /dev/null
+++ b/games-action/minetest_game/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/games-action/minetest_game/minetest_game-scm.ebuild b/games-action/minetest_game/minetest_game-scm.ebuild
new file mode 100644
index 0000000..fa060d4
--- /dev/null
+++ b/games-action/minetest_game/minetest_game-scm.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit git-2 games
+
+DESCRIPTION="Building single/multiplayer game similar to Minecraft"
+HOMEPAGE="http://c55.me/minetest/"
+EGIT_REPO_URI="git://github.com/minetest/${PN}.git"
+
+LICENSE="GPL-2 CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="~games-action/minetest-${PV}
+ ~games-action/minetest_common-${PV}"
+
+src_unpack() {
+ git-2_src_unpack
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/minetest/games/${PN}
+ doins -r mods
+ doins game.conf
+
+ prepgamesdirs
+}
diff --git a/games-action/minetest_survival/Manifest b/games-action/minetest_survival/Manifest
new file mode 100644
index 0000000..4a74569
--- /dev/null
+++ b/games-action/minetest_survival/Manifest
@@ -0,0 +1,2 @@
+EBUILD minetest_survival-9999.ebuild 550 SHA256 9c85b11051d5d877166ecd74b0c145f51b62a075fdb247b48fc09d231acf32d7 SHA512 9ec91715365e627c65b5211cce1e93cff01ee001575106961b9c48406af62c5e88e3fa76385d76e1f6825be73f1e84c575cd691e00ecc30a65d898631eaa39d0 WHIRLPOOL 8f8a06ff74d7e7f3dabcd4588cff794cfb37919def66429b302b1cabe11519b1f4a35c2216fd3a815c2a99670813bdd2ec5c3b793b4a6f9c76ad20a5e0574cef
+MISC metadata.xml 235 SHA256 11ffaf6c7e9d3f8dbb48fb60cd443d87b61015bc3197206ca230f5c2b0c1e013 SHA512 8ff2114c96567a53f83cd07149d1530286182f54b3d1286b9ceccea41e85734be19d0f60876c73880d76baac48e698de91114bfda459e2ee6ade9c3237847133 WHIRLPOOL bd4bb26791fe245f1c2407aa690887524eef3e76de87b4f2b7049f436661ee78a669e4fe4415e227aa50ee404bbfbaf1822fa648792919f93cb3674fa0f55858
diff --git a/games-action/minetest_survival/metadata.xml b/games-action/minetest_survival/metadata.xml
new file mode 100644
index 0000000..bfabcd0
--- /dev/null
+++ b/games-action/minetest_survival/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/games-action/minetest_survival/minetest_survival-scm.ebuild b/games-action/minetest_survival/minetest_survival-scm.ebuild
new file mode 100644
index 0000000..0c45d0d
--- /dev/null
+++ b/games-action/minetest_survival/minetest_survival-scm.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit git-2 games
+
+DESCRIPTION="Survival/Minetest"
+HOMEPAGE="https://github.com/minetest/survival"
+EGIT_REPO_URI="git://github.com/minetest/survival.git"
+
+LICENSE="GPL-2 CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="~games-action/minetest-${PV}"
+
+src_unpack() {
+ git-2_src_unpack
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/minetest/games/survival
+ doins -r mods
+ doins game.conf
+
+ prepgamesdirs
+}