Daurnimator pushed to branch main at Arch Linux / Packaging / Packages / 
lua-dkjson


Commits:
4c1e28bb by Daurnimator at 2024-06-19T09:00:32+10:00
upgpkg: 2.8-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = lua-dkjson
        pkgdesc = David Kolf’s Pure Lua JSON module with UTF-8 support and no 
external dependencies
-       pkgver = 2.7
+       pkgver = 2.8
        pkgrel = 1
        url = http://dkolf.de/src/dkjson-lua.fsl/home
        arch = any
@@ -10,17 +10,21 @@ pkgbase = lua-dkjson
        makedepends = lua52
        makedepends = lua53
        makedepends = lua
-       source = http://dkolf.de/dkjson-lua/dkjson-2.7.tar.gz
-       source = https://luarocks.org/manifests/dhkolf/dkjson-2.7-1.rockspec
+       source = http://dkolf.de/dkjson-lua/dkjson-2.8.tar.gz
+       source = https://luarocks.org/manifests/dhkolf/dkjson-2.8-1.rockspec
        source = LICENSE
-       sha256sums = 
7a32a6cec0327d66578be1772303b79e1e9e87442bfce412738599f259eb20aa
-       sha256sums = 
ad5303145ff263b7d3958e08723e0b5adef6aa628c0b079d6e0a2282ac7ff94d
+       sha256sums = 
24e8cd3beb91c1c861eb7bb3fbc9bd418bbff9ad4aa5d0471816258236a31532
+       sha256sums = 
6ab6ac25e5fbc90d9183bd11c9ea6218dbcb762c90cfc5a7e075eb7531080418
        sha256sums = 
695b49734d1244ff236ec8785aa908883deb0f65b2356e36e8739ea06002b03c
 
 pkgname = lua-dkjson
+       optdepends = lua-lpeg: speed up decoding
 
 pkgname = lua53-dkjson
+       optdepends = lua53-lpeg: speed up decoding
 
 pkgname = lua52-dkjson
+       optdepends = lua52-lpeg: speed up decoding
 
 pkgname = lua51-dkjson
+       optdepends = lua51-lpeg: speed up decoding


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgbase=lua-dkjson
 pkgname=("lua-dkjson" "lua53-dkjson" "lua52-dkjson" "lua51-dkjson")
-pkgver=2.7
+pkgver=2.8
 _rockrel=1
 pkgrel=1
 pkgdesc='David Kolf’s Pure Lua JSON module with UTF-8 support and no external 
dependencies'
@@ -19,8 +19,8 @@ _rockspec="$_archive-$_rockrel.rockspec"
 source=("http://dkolf.de/dkjson-lua/$_archive.tar.gz";
         "https://luarocks.org/manifests/dhkolf/$_rockspec";
         "LICENSE")
-sha256sums=('7a32a6cec0327d66578be1772303b79e1e9e87442bfce412738599f259eb20aa'
-            'ad5303145ff263b7d3958e08723e0b5adef6aa628c0b079d6e0a2282ac7ff94d'
+sha256sums=('24e8cd3beb91c1c861eb7bb3fbc9bd418bbff9ad4aa5d0471816258236a31532'
+            '6ab6ac25e5fbc90d9183bd11c9ea6218dbcb762c90cfc5a7e075eb7531080418'
             '695b49734d1244ff236ec8785aa908883deb0f65b2356e36e8739ea06002b03c')
 
 build() {
@@ -35,24 +35,27 @@ build() {
 _package() {
        cd "$_archive"
        depends=("${pkgname%-*}")
-       optdepends=('lua-lpeg: speed up decoding')
        luarocks --lua-version "$1" --tree "$pkgdir/usr/" \
                install --deps-mode none --no-manifest -- "lua-$1/$_rock"
        install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" 
"$srcdir/LICENSE"
 }
 
 package_lua-dkjson() {
+       optdepends=('lua-lpeg: speed up decoding')
        _package 5.4
 }
 
 package_lua53-dkjson() {
+       optdepends=('lua53-lpeg: speed up decoding')
        _package 5.3
 }
 
 package_lua52-dkjson() {
+       optdepends=('lua52-lpeg: speed up decoding')
        _package 5.2
 }
 
 package_lua51-dkjson() {
+       optdepends=('lua51-lpeg: speed up decoding')
        _package 5.1
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lua-dkjson/-/commit/4c1e28bb30b64998e4d414248112277fa4b5345a

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lua-dkjson/-/commit/4c1e28bb30b64998e4d414248112277fa4b5345a
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to