lua53: update to 5.3.6.

This commit is contained in:
Michal Vasilek 2022-05-13 20:14:46 +02:00 committed by Echo
parent 3cb08f2173
commit 495f520f4d

View File

@ -1,7 +1,7 @@
# Template file for 'lua53'
pkgname=lua53
version=5.3.5
revision=7
version=5.3.6
revision=1
wrksrc=lua-${version}
makedepends="readline-devel"
short_desc="Powerful, fast, lightweight, embeddable scripting language (5.3.x)"
@ -9,7 +9,7 @@ maintainer="q66 <daniel@octaforge.org>"
license="MIT"
homepage="https://www.lua.org"
distfiles="https://www.lua.org/ftp/lua-${version}.tar.gz"
checksum=0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
checksum=fc5fd69bb8736323f026672b1b7235da613d7177e72558893a0bdcd320466d60
alternatives="
lua:lua:/usr/bin/lua5.3
@ -18,11 +18,6 @@ alternatives="
lua:luac.1:/usr/share/man/man1/luac5.3.1
"
pre_build() {
# 5.3.5 has 5.3.4 in the Makefile
vsed "s/^R= \$V.4/R= \$V.5/" -i Makefile
}
do_build() {
sed -i src/Makefile -r \
-e '/^LUA_(SO|A|T)=/ s;lua;lua5.3;' \