minazuki-overlay/dev-lua/luash/luash-9999.ebuild

23 lines
502 B
Bash
Raw Permalink Normal View History

# Copyright 2026 Shin'ya Minazuki
EAPI=8
LUA_COMPAT=( lua5-{1..4} )
inherit edo git-r3 lua-single
DESCRIPTION="Tiny library for shell scripting with Lua"
HOMEPAGE="https://zserge.com/posts/luash/"
EGIT_REPO_URI="https://github.com/zserge/luash"
LICENSE="MIT"
SLOT="0"
# I assume match all architectures as unstable
KEYWORDS="~*"
src_unpack() {
git-r3_src_unpack
}
src_install() {
edo mkdir -p ${D}/${EPREFIX}$(lua_get_lmod_dir)/${PN}
edo cp -f ${S}/sh.lua ${D}/${EPREFIX}$(lua_get_lmod_dir)/
}