add local overlay

This commit is contained in:
Anton Schubert 2016-05-08 14:09:54 +02:00
commit 4883c62e9a
68 changed files with 2719 additions and 0 deletions

View file

@ -0,0 +1,40 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: This ebuild is from Lua overlay; Bumped by mva; $
EAPI="5"
inherit eutils games
MY_P="beta1"
# Upstream change strange version numeration: 2.4 = beta1, 2.5 (future release) = beta2...
DESCRIPTION="A nice 2D Snake game (like on Tetris)"
HOMEPAGE="http://snayke.net/ https://love2d.org/forums/viewtopic.php?f=5&t=2841"
SRC_URI="http://snayke.net/downloads/snayke_${MY_P}.love -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT=""
DEPEND=">=games-engines/love-0.8.0"
RDEPEND="${DEPEND}"
S="${WORKDIR}"
src_install() {
local dir="${GAMES_DATADIR}/love/${PN}"
insinto "${dir}"
doins -r .
games_make_wrapper "${PN}" "love /usr/share/games/love/${P}"
make_desktop_entry "${PN}"
prepgamesdirs
}
pkg_postinst() {
elog "${PN} savegames and configurations are stored in:"
elog "~/.local/share/love/${PN}/"
}