summaryrefslogtreecommitdiff
path: root/dev-lua/luadoc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-10 13:21:36 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-10 13:21:36 +0000
commit77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch)
tree5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /dev-lua/luadoc
parentbd4aeefe33e63f613512604e47bfca7b2187697d (diff)
gentoo resync : 10.11.2019
Diffstat (limited to 'dev-lua/luadoc')
-rw-r--r--dev-lua/luadoc/Manifest2
-rw-r--r--dev-lua/luadoc/luadoc-3.0.1.ebuild19
2 files changed, 10 insertions, 11 deletions
diff --git a/dev-lua/luadoc/Manifest b/dev-lua/luadoc/Manifest
index 26abcc4fc2ad..095a7b72cf68 100644
--- a/dev-lua/luadoc/Manifest
+++ b/dev-lua/luadoc/Manifest
@@ -1,3 +1,3 @@
DIST luadoc-3.0.1.tar.gz 108824 BLAKE2B 52092feeb22cdcd7570ba5d54c57598d16688daba7c90d81dc975cfd2545c5e42e6f4b8f1bdc150c877f6b953cbb193d03d1a02f0ac48cfbc5cf1ec4a91b101c SHA512 413b40e72cc0699c00caf47fe3d7233c8619bfd6064eac001762bcb2ae0b21ccc6f800bd05566cd83924546e5616d1e5840d8bc20ec6d1f1c7a64910a9df6be2
-EBUILD luadoc-3.0.1.ebuild 763 BLAKE2B 7ee2c44a632c25b59d6a0d0f8deeb6de3139df134447459aa57042c42701cb6d214ac05563a6ad5c634e89672ddaed75b2f57140a02ce342b758e0a4b0cb46cd SHA512 0028bc55a320c44c5becfe87ed245d6ea9f53058c601ad9a61bc88400ce1524e004e51223036b1f9ac8247d7dca9f64e171ff0038e3f696e8d788bf6e880127b
+EBUILD luadoc-3.0.1.ebuild 704 BLAKE2B aba9f49249c841012ecb6023cf9c1969000047965b3a293d779ee5af8bef86d797e03f59f6a548e82a3f865d94f2d5b1dd095c6654df4d76103a7349dabbeed4 SHA512 992219bf8e942992060b2d4f9d840fe98e1974461ab2575345ebca88cb4a6fd5254d2b5ada04fd742f9ef220c667b93af83b3c7b16c63c3cdec77bf9f0269038
MISC metadata.xml 527 BLAKE2B 90513513f29682f379946aea92ca66566f9d2000976da5c82b1f273d2af29fe34699b3fea4221b863a515bba0d7a51a4136cd643d268cdec4c62d664ef3f32b9 SHA512 4a3bf73e5b7e7bba048f0f8b251369c9d6e10c885817fd5a8293466df75bee548be3b34e55a5e448be2681ce5cfe1182850d1382f67104feea9886c30f88ad41
diff --git a/dev-lua/luadoc/luadoc-3.0.1.ebuild b/dev-lua/luadoc/luadoc-3.0.1.ebuild
index 801cfcd98671..c2d1de3b9b1f 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/.
}