commit: 3b40d81cf4fb2c88397575ee400cdcd4eba9aea9 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Nov 10 11:09:04 2019 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Nov 10 11:24:43 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b40d81c
dev-lua/luadoc: Bump to EAPI 7 Closes: https://bugs.gentoo.org/697354 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-lua/luadoc/luadoc-3.0.1.ebuild | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/dev-lua/luadoc/luadoc-3.0.1.ebuild b/dev-lua/luadoc/luadoc-3.0.1.ebuild index 801cfcd9867..c2d1de3b9b1 100644 --- a/dev-lua/luadoc/luadoc-3.0.1.ebuild +++ b/dev-lua/luadoc/luadoc-3.0.1.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit multilib DESCRIPTION="LuaDoc is a documentation tool for Lua source code" HOMEPAGE="http://luadoc.luaforge.net/" SRC_URI="http://luaforge.net/frs/download.php/3185/${P}.tar.gz" @@ -17,9 +16,9 @@ DEPEND="" RDEPEND=">=dev-lang/lua-5.1.3 dev-lua/luafilesystem" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { + default + sed -i \ -e "s|/usr/local|\$(DESTDIR)/usr|" \ -e "s|lib|$(get_libdir)|" \ @@ -27,11 +26,11 @@ src_unpack() { config || die # lua-5.1.3 - find . -name '*.lua' | xargs sed -i -e "s/gfind/gmatch/g" || die + find . -name '*.lua' -exec sed -i -e "s/gfind/gmatch/g" {} + || die } src_install() { - emake DESTDIR="${D}" install || die - dodoc README - dohtml -r doc/us/* + default + docinto html + dodoc -r doc/us/. }
