diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-lua/lua_cliargs/lua_cliargs-3.0.2.ebuild | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-lua/lua_cliargs/lua_cliargs-3.0.2.ebuild')
| -rw-r--r-- | dev-lua/lua_cliargs/lua_cliargs-3.0.2.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-lua/lua_cliargs/lua_cliargs-3.0.2.ebuild b/dev-lua/lua_cliargs/lua_cliargs-3.0.2.ebuild new file mode 100644 index 000000000000..be1ce39cec48 --- /dev/null +++ b/dev-lua/lua_cliargs/lua_cliargs-3.0.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1,3,4} luajit ) +MY_PV="${PV/_p/-}" + +inherit lua + +DESCRIPTION="A command-line argument parsing module for Lua" +HOMEPAGE="https://github.com/amireh/lua_cliargs" +SRC_URI="https://github.com/amireh/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86" +IUSE="examples" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND="${LUA_DEPS}" +BDEPEND="virtual/pkgconfig" + +HTML_DOCS=( "doc/." ) + +lua_src_install() { + insinto $(lua_get_lmod_dir) + doins -r src/. +} + +src_install() { + lua_foreach_impl lua_src_install + + use examples && dodoc -r examples + einstalldocs +} |
