mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-lua/lua-tui: new package, add 0_pre20190215
Signed-off-by: Suleyman Farajli <suleyman@farajli.net>
This commit is contained in:
1
dev-lua/lua-tui/Manifest
Normal file
1
dev-lua/lua-tui/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST lua-tui-0_pre20190215.tar.gz 15561 BLAKE2B cd6de4547755b82691adfded3eddd58bc494fc43f0c6efc6f7054c0250975bd742772e1235242d45e1912f54dbd160f3382f9e869cb996e2191c179fb455f966 SHA512 27a3eec72827367adb814689e35d71e371affc1a679087f65e21e0a4fe36ad8f5e0d85eaa387fff4c11c3a759db247746064ca85fcb0ec227f7dc22473a0e817
|
||||
42
dev-lua/lua-tui/lua-tui-0_pre20190215.ebuild
Normal file
42
dev-lua/lua-tui/lua-tui-0_pre20190215.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-{1..3} luajit )
|
||||
|
||||
inherit lua toolchain-funcs
|
||||
|
||||
DESCRIPTION="Lua library for creating a terminal UI "
|
||||
HOMEPAGE="https://github.com/daurnimator/lua-tui"
|
||||
EGIT_COMMIT="9e854fc22074d73a26fbf25cf24690c60b042b11"
|
||||
SRC_URI="https://github.com/daurnimator/lua-tui/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="examples"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${LUA_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
lua_enable_tests busted
|
||||
|
||||
lua_src_install() {
|
||||
insinto "$(lua_get_lmod_dir)"
|
||||
doins -r tui
|
||||
}
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl lua_src_install
|
||||
dodoc README.md BUGS.md
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/*.lua
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
11
dev-lua/lua-tui/metadata.xml
Normal file
11
dev-lua/lua-tui/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>suleyman@farajli.net</email>
|
||||
<name>Suleyman Farajli</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">daurnimator/lua-tui</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user