Package Details: lua53-cjson 2.1.0.14-3

Git Clone URL: https://aur.archlinux.org/lua-cjson.git (read-only, click to copy)
Package Base: lua-cjson
Description: A fast JSON parsing and encoding support for Lua.
Upstream URL: https://github.com/openresty/lua-cjson
Licenses: MIT
Submitter: speps
Maintainer: colophony
Last Packager: colophony
Votes: 15
Popularity: 0.000000
First Submitted: 2011-09-15 19:01 (UTC)
Last Updated: 2024-12-19 19:50 (UTC)

Dependencies (5)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

micwoj92 commented on 2024-12-19 21:06 (UTC)

Thanks, only downside of the approach you added is that it doesn't properly add this to .SRCINFO so it doesn't show in AURWEB.

I don't know if that's a bug in makepkg --printsrcinfo, because in .PKGINFOin resulted package this is shown correctly.

colophony commented on 2024-12-19 20:55 (UTC)

Just noticed that having luarocks installed but not the corresponding lua5x package leads to an error during the luarocks manifest hook, so while not ideal, I put them in depends after all

micwoj92 commented on 2024-12-18 16:50 (UTC)

Yes for this.

$ json2lua
/usr/bin/json2lua: line 3: /usr/bin/lua5.4: No such file or directory

colophony commented on 2024-12-17 23:46 (UTC)

@micwoj92 Do you mean for json2lua/lua2json? In that case, maybe optdepends would be more fitting? Because as far as I can see the library itself doesn't depend on them.

micwoj92 commented on 2024-12-16 21:10 (UTC)

please add lua (and lua51,52,53 for other versions) to deps of these packages.

colophony commented on 2024-10-15 14:04 (UTC)

@jprjr Should work now, I went with the second suggestion.

jprjr commented on 2024-10-12 15:47 (UTC)

It looks like the subpackages all install json2lua and lua2json, so there's a conflict if I want to install all subpackages.

It may be worth either - removing /usr/bin from all subpackages except lua-cjson, or maybe in the other subpackages, rename json2lua and lua2json to something like json2lua-5.1, json2lua-5.2, etc.

kmarius commented on 2022-11-06 18:40 (UTC)

Upstream hasn't been updated in 6 years and the module can't even be loaded by lua5.1 or luajit. Would you please consider switching to the more current fork by OpenResty: https://github.com/openresty/lua-cjson, which is also the upstream for luarocks?

daurnimator commented on 2022-05-23 13:13 (UTC)

Would you consider updating to use luarocks to build the package?