From 26bf15d94d12fde4c8704e2224a9229133aae2c6 Mon Sep 17 00:00:00 2001 From: Shin'ya Minazuki Date: Sun, 6 Sep 2026 20:29:43 -0400 Subject: [PATCH] dev-lua/luash: good thing that was a single file Signed-off-by: Shin'ya Minazuki --- dev-lua/luash/luash-9999.ebuild | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/dev-lua/luash/luash-9999.ebuild b/dev-lua/luash/luash-9999.ebuild index f7e09a1..4e3871e 100644 --- a/dev-lua/luash/luash-9999.ebuild +++ b/dev-lua/luash/luash-9999.ebuild @@ -1,10 +1,8 @@ -# Copyright 2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - +# Copyright 2026 Shin'ya Minazuki EAPI=8 LUA_COMPAT=( lua5-{1..4} ) -inherit git-r3 lua-single +inherit edo git-r3 lua-single DESCRIPTION="Tiny library for shell scripting with Lua" HOMEPAGE="https://zserge.com/posts/luash/" @@ -20,12 +18,6 @@ src_unpack() { } src_install() { - mkdir -p ${D}/${EPREFIX}$(lua_get_lmod_dir)/${PN} - cp -f ${S}/sh.lua ${D}/${EPREFIX}$(lua_get_lmod_dir)/${PN} -} - -pkg_postinst() { - elog "Before calling require('sh') in any of your scripts, append $(lua_get_lmod_dir) to package.path" - einfo "package.path=[[/usr/share/lua/5.4/?/?.lua;]] .. package.path" - elog "This may be fixed in a following revision" + edo mkdir -p ${D}/${EPREFIX}$(lua_get_lmod_dir)/${PN} + edo cp -f ${S}/sh.lua ${D}/${EPREFIX}$(lua_get_lmod_dir)/ }