diff options
author | ILMostro <ilmostro7@gmail.com> | 2018-06-20 01:18:51 -0500 |
---|---|---|
committer | ILMostro <ilmostro7@gmail.com> | 2018-06-20 01:18:51 -0500 |
commit | 9d7f05df07d037b91d87543fe861250b131d7740 (patch) | |
tree | e08cbcd95028550d437e80ba192b54e5524ac487 /dev-lua | |
parent | added `dev-lua/say` to be checked and updated (diff) | |
download | ag-ops-9d7f05df07d037b91d87543fe861250b131d7740.tar.gz ag-ops-9d7f05df07d037b91d87543fe861250b131d7740.tar.bz2 ag-ops-9d7f05df07d037b91d87543fe861250b131d7740.zip |
Updated `dev-lua/say` to `EAPI=6`;
added correct lua version check for slotted `dev-lang/lua`.
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/say/say-1.3_p1.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-lua/say/say-1.3_p1.ebuild b/dev-lua/say/say-1.3_p1.ebuild index edf21e3..9291556 100644 --- a/dev-lua/say/say-1.3_p1.ebuild +++ b/dev-lua/say/say-1.3_p1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 MY_PV=1.3-1 inherit toolchain-funcs @@ -15,15 +15,16 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="" -COMMON_DEPEND=">=dev-lang/lua-5.1:=" +COMMON_DEPEND=">=dev-lang/lua-5.1:*" DEPEND="${COMMON_DEPEND} virtual/pkgconfig" RDEPEND="${COMMON_DEPEND}" S="${WORKDIR}/${PN}-${MY_PV}" +DOCS=( CONTRIBUTING.md README.md ) src_install() { - insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"/${PN} + LUA_VERSION=$(readlink -e "${EROOT}"/usr/bin/lua | sed -ne 's:.*/usr/bin/lua\([\d.-]*\):\1:p') + insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"/$LUA_VERSION/${PN} doins src/init.lua -dodoc CONTRIBUTING.md README.md } |