diff options
author | Aki <please@ignore.pl> | 2024-11-03 17:50:47 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-11-03 17:50:47 +0100 |
commit | ba513927264c7ec86d3fa0c31d956d33c9acbc30 (patch) | |
tree | c7143c9f0e0e9f8407476a3709aa8d3085185949 /lua-cpml | |
parent | 3b7886fbed2e23da39d4f87e4325cb7616004cc5 (diff) | |
download | arch-ignore-ba513927264c7ec86d3fa0c31d956d33c9acbc30.zip arch-ignore-ba513927264c7ec86d3fa0c31d956d33c9acbc30.tar.gz arch-ignore-ba513927264c7ec86d3fa0c31d956d33c9acbc30.tar.bz2 |
Add missing submodules to cpml
Diffstat (limited to 'lua-cpml')
-rw-r--r-- | lua-cpml/.SRCINFO | 2 | ||||
-rw-r--r-- | lua-cpml/PKGBUILD | 7 | ||||
-rw-r--r-- | lua-cpml/modules.diff | 15 |
3 files changed, 20 insertions, 4 deletions
diff --git a/lua-cpml/.SRCINFO b/lua-cpml/.SRCINFO index 8cc9efe..0fc891c 100644 --- a/lua-cpml/.SRCINFO +++ b/lua-cpml/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = lua-cpml pkgdesc = Cirno's Perfect Math Library pkgver = 1.0.0.r64.geb209f6 - pkgrel = 1 + pkgrel = 2 url = https://github.com/excessive/cpml arch = any license = BSD diff --git a/lua-cpml/PKGBUILD b/lua-cpml/PKGBUILD index e79738f..bab0e20 100644 --- a/lua-cpml/PKGBUILD +++ b/lua-cpml/PKGBUILD @@ -2,14 +2,14 @@ pkgname=lua-cpml pkgver=1.0.0.r64.geb209f6 -pkgrel=1 +pkgrel=2 pkgdesc="Cirno's Perfect Math Library" arch=('any') url='https://github.com/excessive/cpml' license=('BSD' 'MIT' 'CC0') makedepends=('luarocks') -source=("git+https://github.com/excessive/cpml.git" 'lua_version.diff') -sha256sums=('SKIP' 'SKIP') +source=("git+https://github.com/excessive/cpml.git" 'lua_version.diff' 'modules.diff') +sha256sums=('SKIP' 'SKIP' 'SKIP') pkgver() { @@ -21,6 +21,7 @@ pkgver() { prepare() { cd cpml patch --forward --strip=1 --input="$srcdir/lua_version.diff" + patch --forward --strip=1 --input="$srcdir/modules.diff" } diff --git a/lua-cpml/modules.diff b/lua-cpml/modules.diff new file mode 100644 index 0000000..31b3541 --- /dev/null +++ b/lua-cpml/modules.diff @@ -0,0 +1,15 @@ +diff '--color=auto' -aru cpml.orig/cpml-scm-1.rockspec cpml.new/cpml-scm-1.rockspec +--- cpml.orig/cpml-scm-1.rockspec 2024-11-03 17:42:20.490108708 +0100 ++++ cpml.new/cpml-scm-1.rockspec 2024-11-03 17:46:39.043443287 +0100 +@@ -16,6 +16,11 @@ + type = "builtin", + modules = { + ["cpml"] = "init.lua", ++ ["cpml.modules._private_precond"] = "modules/_private_precond.lua", ++ ["cpml.modules._private_utils"] = "modules/_private_utils.lua", ++ ["cpml.modules.bound2"] = "modules/bound2.lua", ++ ["cpml.modules.bound3"] = "modules/bound3.lua", ++ ["cpml.modules.bvh"] = "modules/bvh.lua", + ["cpml.modules.color"] = "modules/color.lua", + ["cpml.modules.constants"] = "modules/constants.lua", + ["cpml.modules.intersect"] = "modules/intersect.lua", |