diff --git a/srcpkgs/lua-stdlib-normalize b/srcpkgs/lua-stdlib-normalize new file mode 120000 index 0000000000..8302b7ec17 --- /dev/null +++ b/srcpkgs/lua-stdlib-normalize @@ -0,0 +1 @@ +lua54-stdlib-normalize \ No newline at end of file diff --git a/srcpkgs/lua51-stdlib-normalize b/srcpkgs/lua51-stdlib-normalize index b377e6adb0..8302b7ec17 120000 --- a/srcpkgs/lua51-stdlib-normalize +++ b/srcpkgs/lua51-stdlib-normalize @@ -1 +1 @@ -lua-stdlib-normalize \ No newline at end of file +lua54-stdlib-normalize \ No newline at end of file diff --git a/srcpkgs/lua52-stdlib-normalize b/srcpkgs/lua52-stdlib-normalize index b377e6adb0..8302b7ec17 120000 --- a/srcpkgs/lua52-stdlib-normalize +++ b/srcpkgs/lua52-stdlib-normalize @@ -1 +1 @@ -lua-stdlib-normalize \ No newline at end of file +lua54-stdlib-normalize \ No newline at end of file diff --git a/srcpkgs/lua53-stdlib-normalize b/srcpkgs/lua53-stdlib-normalize new file mode 120000 index 0000000000..8302b7ec17 --- /dev/null +++ b/srcpkgs/lua53-stdlib-normalize @@ -0,0 +1 @@ +lua54-stdlib-normalize \ No newline at end of file diff --git a/srcpkgs/lua-stdlib-normalize/template b/srcpkgs/lua54-stdlib-normalize/template similarity index 55% rename from srcpkgs/lua-stdlib-normalize/template rename to srcpkgs/lua54-stdlib-normalize/template index 57de02cf20..be1312722f 100644 --- a/srcpkgs/lua-stdlib-normalize/template +++ b/srcpkgs/lua54-stdlib-normalize/template @@ -1,11 +1,12 @@ -# Template file for 'lua-stdlib-normalize' -pkgname=lua-stdlib-normalize +# Template file for 'lua54-stdlib-normalize' +pkgname=lua54-stdlib-normalize version=2.0.3 -revision=1 +revision=2 archs=noarch wrksrc=normalize-${version} -depends="lua lua-stdlib-debug" -short_desc="Collection of normalized Lua functions (Lua 5.3)" +depends="lua54 lua54-stdlib-debug" +_desc="Collection of normalized Lua functions" +short_desc="${_desc} (5.4.x)" maintainer="Daniel Santana " license="MIT" homepage="https://lua-stdlib.github.io/normalize/" @@ -13,7 +14,7 @@ distfiles="https://github.com/lua-stdlib/normalize/archive/v${version}.tar.gz" checksum=2038c38da542cf274b0b7512928e5b649c90a34f36c8919fbbbc2524b4ef716d 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-normalize_package() { depends="lua51 lua51-stdlib-debug" - 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-normalize_package() { lua52-stdlib-normalize_package() { depends="lua52 lua52-stdlib-debug" - 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-normalize_package() { vlicense LICENSE.md } } + +lua53-stdlib-normalize_package() { + depends="lua53 lua53-stdlib-debug" + 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-normalize_package() { + depends="lua53-stdlib-normalize>=${version}_${revision}" + short_desc+="${_desc} (5.3.x) (transitional dummy package)" + build_style=meta +}