diff --git a/srcpkgs/lua-stdlib-debug b/srcpkgs/lua-stdlib-debug new file mode 120000 index 0000000000..7dd63b8c59 --- /dev/null +++ b/srcpkgs/lua-stdlib-debug @@ -0,0 +1 @@ +lua54-stdlib-debug \ No newline at end of file diff --git a/srcpkgs/lua51-stdlib-debug b/srcpkgs/lua51-stdlib-debug index 69cde51cc4..7dd63b8c59 120000 --- a/srcpkgs/lua51-stdlib-debug +++ b/srcpkgs/lua51-stdlib-debug @@ -1 +1 @@ -lua-stdlib-debug \ No newline at end of file +lua54-stdlib-debug \ No newline at end of file diff --git a/srcpkgs/lua52-stdlib-debug b/srcpkgs/lua52-stdlib-debug index 69cde51cc4..7dd63b8c59 120000 --- a/srcpkgs/lua52-stdlib-debug +++ b/srcpkgs/lua52-stdlib-debug @@ -1 +1 @@ -lua-stdlib-debug \ No newline at end of file +lua54-stdlib-debug \ No newline at end of file diff --git a/srcpkgs/lua53-stdlib-debug b/srcpkgs/lua53-stdlib-debug new file mode 120000 index 0000000000..7dd63b8c59 --- /dev/null +++ b/srcpkgs/lua53-stdlib-debug @@ -0,0 +1 @@ +lua54-stdlib-debug \ No newline at end of file diff --git a/srcpkgs/lua-stdlib-debug/template b/srcpkgs/lua54-stdlib-debug/template similarity index 56% rename from srcpkgs/lua-stdlib-debug/template rename to srcpkgs/lua54-stdlib-debug/template index 46df70335f..50087fb7fc 100644 --- a/srcpkgs/lua-stdlib-debug/template +++ b/srcpkgs/lua54-stdlib-debug/template @@ -1,11 +1,12 @@ -# Template file for 'lua-stdlib-debug' -pkgname=lua-stdlib-debug +# Template file for 'lua54-stdlib-debug' +pkgname=lua54-stdlib-debug version=1.0.1 -revision=1 +revision=2 wrksrc=_debug-${version} archs=noarch -depends="lua" -short_desc="A debug hints management library for Lua (Lua 5.3)" +depends="lua54" +_desc="A debug hints management library for Lua" +short_desc="${_desc} (5.4.x)" maintainer="Daniel Santana " license="MIT" homepage="https://lua-stdlib.github.io/_debug/" @@ -13,7 +14,7 @@ distfiles="https://github.com/lua-stdlib/_debug/archive/v${version}.tar.gz" checksum=efc560540f08dcf880ac48c6ab527bd741bbe3d6d66202a3c8be3ff5c9e1e907 do_install() { - for _lua_version in 5.1 5.2 5.3; do + for _lua_version in 5.1 5.2 5.3 5.4; do vmkdir usr/share/lua/$_lua_version/ vcopy lib/std usr/share/lua/$_lua_version/ done @@ -25,7 +26,7 @@ do_install() { lua51-stdlib-debug_package() { depends="lua51" - short_desc="${short_desc/5.3/5.1}" + short_desc="${_desc} (5.1.x)" pkg_install() { vmove usr/share/lua/5.1 vdoc NEWS.md @@ -37,7 +38,7 @@ lua51-stdlib-debug_package() { lua52-stdlib-debug_package() { depends="lua52" - short_desc="${short_desc/5.3/5.2}" + short_desc="${_desc} (5.2.x)" pkg_install() { vmove usr/share/lua/5.2 vdoc NEWS.md @@ -46,3 +47,21 @@ lua52-stdlib-debug_package() { vlicense LICENSE.md } } + +lua53-stdlib-debug_package() { + depends="lua53" + short_desc="${_desc} (5.3.x)" + pkg_install() { + vmove usr/share/lua/5.3 + vdoc NEWS.md + vdoc README.md + vdoc AUTHORS.md + vlicense LICENSE.md + } +} + +lua-stdlib-debug_package() { + depends="lua53-stdlib-debug>=${version}_${revision}" + short_desc+="${_desc} (5.3.x) (transitional dummy package)" + build_style=meta +}