Files
guru/dev-games/surgescript/surgescript-9999.ebuild
T

33 lines
691 B
Bash
Raw Normal View History

2020-03-09 18:34:26 +01:00
# Copyright 2019-2020 Gentoo Authors
2019-07-22 23:50:09 +02:00
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
2020-12-06 11:19:53 +01:00
DOCS_BUILDER="mkdocs"
DOCS_DEPEND="
dev-python/mkdocs
dev-python/mkdocs-material
"
inherit cmake python-any-r1 docs
2019-07-22 23:50:09 +02:00
DESCRIPTION="scripting language made for opensurge"
HOMEPAGE="https://alemart.github.io/surgescript"
2019-07-22 23:50:09 +02:00
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/alemart/surgescript.git"
SLOT="0"
2019-07-22 23:50:09 +02:00
else
SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
SLOT="0/${PV}"
2019-07-22 23:50:09 +02:00
fi
LICENSE="Apache-2.0"
2020-03-09 18:34:26 +01:00
src_compile() {
2020-04-11 00:58:38 +02:00
cmake_src_compile
docs_compile
2020-03-09 18:34:26 +01:00
}