New package: lua-stdlib-debug-1.0
This commit is contained in:
parent
f9d45d2019
commit
0b4a006550
3 changed files with 50 additions and 0 deletions
48
srcpkgs/lua-stdlib-debug/template
Normal file
48
srcpkgs/lua-stdlib-debug/template
Normal file
|
@ -0,0 +1,48 @@
|
|||
# Template file for 'lua-stdlib-debug'
|
||||
pkgname=lua-stdlib-debug
|
||||
version=1.0
|
||||
revision=1
|
||||
wrksrc=_debug-${version}
|
||||
noarch=yes
|
||||
depends="lua"
|
||||
short_desc="A debug hints management library for Lua (Lua 5.3)"
|
||||
maintainer="Daniel Santana <daniel@santana.tech>"
|
||||
license="MIT"
|
||||
homepage="https://lua-stdlib.github.io/_debug/"
|
||||
distfiles="https://github.com/lua-stdlib/_debug/archive/v${version}.tar.gz"
|
||||
checksum=40697e8b0177647f828fb86627449b40c6df2685e82fa99e9dc772201758841d
|
||||
|
||||
do_install() {
|
||||
for _lua_version in 5.1 5.2 5.3; do
|
||||
vmkdir usr/share/lua/$_lua_version/
|
||||
vcopy lib/std usr/share/lua/$_lua_version/
|
||||
done
|
||||
vdoc NEWS.md
|
||||
vdoc README.md
|
||||
vdoc AUTHORS.md
|
||||
vlicense LICENSE.md
|
||||
}
|
||||
|
||||
lua51-stdlib-debug_package() {
|
||||
depends="lua51"
|
||||
short_desc="${short_desc/5.3/5.1}"
|
||||
pkg_install() {
|
||||
vmove usr/share/lua/5.1
|
||||
vdoc NEWS.md
|
||||
vdoc README.md
|
||||
vdoc AUTHORS.md
|
||||
vlicense LICENSE.md
|
||||
}
|
||||
}
|
||||
|
||||
lua52-stdlib-debug_package() {
|
||||
depends="lua52"
|
||||
short_desc="${short_desc/5.3/5.2}"
|
||||
pkg_install() {
|
||||
vmove usr/share/lua/5.2
|
||||
vdoc NEWS.md
|
||||
vdoc README.md
|
||||
vdoc AUTHORS.md
|
||||
vlicense LICENSE.md
|
||||
}
|
||||
}
|
1
srcpkgs/lua51-stdlib-debug
Symbolic link
1
srcpkgs/lua51-stdlib-debug
Symbolic link
|
@ -0,0 +1 @@
|
|||
lua-stdlib-debug
|
1
srcpkgs/lua52-stdlib-debug
Symbolic link
1
srcpkgs/lua52-stdlib-debug
Symbolic link
|
@ -0,0 +1 @@
|
|||
lua-stdlib-debug
|
Loading…
Reference in a new issue