1
0
Fork 0

games-rpg/tuxemon: Add live ebuild

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
This commit is contained in:
Ryan Fox 2021-03-21 22:11:51 +00:00
parent 03d2c7aee5
commit dfca566e3b
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
2 changed files with 55 additions and 0 deletions

View File

@ -1,3 +1,4 @@
DIST tuxemon-0.4.26.tar.gz 171953512 BLAKE2B a462bd64c16c07afaea12556362d5729ef3a259ef81365aa951250cdba0996841b10325c517f4c352193387378c26225c009b69e45980c7cfadd690e71bef893 SHA512 26f068b62348b22f8914037094efa6a336b1cbd9b8ef856608930f9a227dc3bc2baf794c54c47f6f2541a347a83f970c3f9725dbb4dfa500409446f89928274a
EBUILD tuxemon-0.4.26.ebuild 1097 BLAKE2B 2d972dcd1d6b945a7a5017971521a6e8a6a4d7e5352c9651a296fe29cdb63c0006bba8f9ee21cc0b9f412a1c249338f1bff7026f8480e244183e01cfac1c8f66 SHA512 4c57c2585e4b59bb9d8d9531c5349b14c9681b0e8b240f2c17843c4e539eaac17e2619d8c61190e7a55bd47d82a9a7e93270ba4e8f0be8be8d775a2272209c8e
EBUILD tuxemon-9999.ebuild 1097 BLAKE2B 2d972dcd1d6b945a7a5017971521a6e8a6a4d7e5352c9651a296fe29cdb63c0006bba8f9ee21cc0b9f412a1c249338f1bff7026f8480e244183e01cfac1c8f66 SHA512 4c57c2585e4b59bb9d8d9531c5349b14c9681b0e8b240f2c17843c4e539eaac17e2619d8c61190e7a55bd47d82a9a7e93270ba4e8f0be8be8d775a2272209c8e
MISC metadata.xml 298 BLAKE2B 80b4d3ad84ca1d1275d4961a2eeffafed2ebaabe0b5823d469743c529907d8249d1db2de625b52cf89de122c527359cf81f51294ff1a12af2975184ac652b5d6 SHA512 8baeda0a500c08319fce01d0fd023808d029cb437f1832961a039951c5188e4bd76943eeab23c7bc47b2285f03dce79b6a14305a8da6d614ca51c5b7c92c177f

View File

@ -0,0 +1,54 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9} )
DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1
if [[ ${PV} != *9999* ]]; then
MY_PN="Tuxemon"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/Tuxemon/Tuxemon.git"
fi
DESCRIPTION="Open source monster-fighting RPG"
HOMEPAGE="https://www.tuxemon.org/"
LICENSE="GPL-3"
SLOT="0"
IUSE="+rumble"
DEPEND="
dev-python/Babel
"
RDEPEND="
${DEPEND}
dev-python/cbor
dev-python/natsort
dev-python/pillow
dev-python/requests
dev-python/pygame
dev-python/pytmx
dev-python/pyscroll
dev-python/neteria
rumble? ( dev-libs/libshake )
"
BDEPEND=""
src_prepare() {
sed -i "s/\/user\/share/\/usr\/share/" "${S}/tuxemon/constants/paths.py"
distutils-r1_src_prepare
}
src_install() {
distutils-r1_src_install
dodir /usr/share/tuxemon
cp -r "${S}/mods" "${D}/usr/share/tuxemon"
}