diff --git a/srcpkgs/luarocks/template b/srcpkgs/luarocks/template index ef64b7689c7..9053439821f 100644 --- a/srcpkgs/luarocks/template +++ b/srcpkgs/luarocks/template @@ -1,6 +1,6 @@ # Template file for 'luarocks' pkgname=luarocks -version=3.1.2 +version=3.1.3 revision=1 archs=noarch build_style=configure @@ -17,15 +17,15 @@ maintainer="Duncaen " license="MIT" homepage="https://luarocks.org/" distfiles="https://luarocks.org/releases/luarocks-${version}.tar.gz" -checksum=72a3b74f05b7fd011eed894dc34193ee80b3235fe58016ac9ffdbfceecc88950 +checksum=c573435f495aac159e34eaa0a3847172a2298eb6295fcdc35d565f9f9b990513 alternatives=" luarocks:luarocks:/usr/bin/luarocks-5.3 luarocks:luarocks-admin:/usr/bin/luarocks-admin-5.3" conf_files="/etc/luarocks/config-5.3.lua" -pre_configure() { - vsed -i -e '457,465d' configure +post_extract() { + vsed -i -e 's;\(unzip_found=\).*;\1/usr/bin/unzip;' configure } post_build() {