luarocks: Update to 3.9.2
This commit is contained in:
parent
60ae570c78
commit
e03564417e
@ -41,17 +41,14 @@ diff -Naur luarocks-3.7.0.orig/spec/util/test_env.lua luarocks-3.7.0/spec/util/t
|
|||||||
diff -Naur luarocks-3.7.0.orig/src/luarocks/core/cfg.lua luarocks-3.7.0/src/luarocks/core/cfg.lua
|
diff -Naur luarocks-3.7.0.orig/src/luarocks/core/cfg.lua luarocks-3.7.0/src/luarocks/core/cfg.lua
|
||||||
--- luarocks-3.7.0.orig/src/luarocks/core/cfg.lua 2021-04-13 23:53:36.000000000 +0200
|
--- luarocks-3.7.0.orig/src/luarocks/core/cfg.lua 2021-04-13 23:53:36.000000000 +0200
|
||||||
+++ luarocks-3.7.0/src/luarocks/core/cfg.lua 2021-07-25 17:51:51.829906200 +0200
|
+++ luarocks-3.7.0/src/luarocks/core/cfg.lua 2021-07-25 17:51:51.829906200 +0200
|
||||||
@@ -414,6 +414,10 @@
|
@@ -414,6 +414,7 @@
|
||||||
defaults.makefile = "Makefile"
|
defaults.makefile = "Makefile"
|
||||||
defaults.cmake_generator = "MSYS Makefiles"
|
defaults.cmake_generator = "MSYS Makefiles"
|
||||||
defaults.local_cache = home.."/.cache/luarocks"
|
defaults.local_cache = home.."/.cache/luarocks"
|
||||||
+ defaults.variables.PWD = "cd"
|
+ defaults.variables.PWD = "cd"
|
||||||
+ local pipe2 = io.popen("cygpath --windows /usr/bin/mkdir")
|
defaults.variables.MAKE = os.getenv("MAKE") or "make"
|
||||||
+ defaults.variables.MKDIR = pipe2:read("*l")
|
defaults.variables.CC = os.getenv("CC") or "gcc"
|
||||||
+ pipe2:close()
|
defaults.variables.RC = os.getenv("WINDRES") or "windres"
|
||||||
defaults.variables.MAKE = "make"
|
|
||||||
defaults.variables.CC = "gcc"
|
|
||||||
defaults.variables.RC = "windres"
|
|
||||||
@@ -745,7 +749,7 @@
|
@@ -745,7 +749,7 @@
|
||||||
|
|
||||||
local defaults = make_defaults(cfg.lua_version, processor, platforms, cfg.home)
|
local defaults = make_defaults(cfg.lua_version, processor, platforms, cfg.home)
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
_realname=luarocks
|
_realname=luarocks
|
||||||
pkgbase=mingw-w64-lua-${_realname}
|
pkgbase=mingw-w64-lua-${_realname}
|
||||||
pkgname=("${MINGW_PACKAGE_PREFIX}-lua-${_realname}")
|
pkgname=("${MINGW_PACKAGE_PREFIX}-lua-${_realname}")
|
||||||
pkgver=3.9.0
|
pkgver=3.9.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="the package manager for Lua modules (mingw-w64)"
|
pkgdesc="the package manager for Lua modules (mingw-w64)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -23,8 +23,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc" "${MINGW_PACKAGE_PREFIX}-autotools")
|
|||||||
options=('staticlibs' 'strip')
|
options=('staticlibs' 'strip')
|
||||||
source=("https://luarocks.org/releases/${_realname}-${pkgver}.tar.gz"
|
source=("https://luarocks.org/releases/${_realname}-${pkgver}.tar.gz"
|
||||||
"0001-luarocks_msys2_mingw_w64.patch")
|
"0001-luarocks_msys2_mingw_w64.patch")
|
||||||
sha256sums=('5e840f0224891de96be4139e9475d3b1de7af3a32b95c1bdf05394563c60175f'
|
sha256sums=('bca6e4ecc02c203e070acdb5f586045d45c078896f6236eb46aa33ccd9b94edb'
|
||||||
'c49c465ff088eab4ba5a0c088bcfe746dd3d3c476519820cf6058268a5985126')
|
'9c0e3c836ac6fc2f528a6e3f8bcca1bc9aa76af5c660068d28e5fda9d0e74240')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/${_realname}-${pkgver}"
|
cd "${srcdir}/${_realname}-${pkgver}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user