summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Swagar2021-03-09 17:29:54 -0800
committerTyler Swagar2021-03-09 17:29:54 -0800
commit6d388374ed7dc86dc449f5e8864d67360fb66681 (patch)
treeea87d15a173f4c951cd3c893882a7e8e9bf1ff6f
parentab21ff54b6b0f89b78a149464276d2568cbe0b1c (diff)
downloadaur-6d388374ed7dc86dc449f5e8864d67360fb66681.tar.gz
Add optional Cpanel::JSON::XS support
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 49f37fe96703..e526fb9fe7bb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = perl-mojolicious
pkgdesc = Real-time web framework
pkgver = 9.03
- pkgrel = 1
+ pkgrel = 2
url = https://metacpan.org/release/Mojolicious
arch = any
license = PerlArtistic
license = GPL
depends = perl>=5.16.0
+ optdepends = perl-cpanel-json-xs>=4.09: Faster JSON encoding and decoding
options = !emptydirs
source = https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-9.03.tar.gz
md5sums = ba0bafb5a2ba2ceb2037ebf126514350
diff --git a/PKGBUILD b/PKGBUILD
index f1487c79fbdb..a97a24ce59ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,14 @@
pkgname='perl-mojolicious'
pkgver='9.03'
-pkgrel='1'
+pkgrel='2'
pkgdesc="Real-time web framework"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl>=5.16.0')
makedepends=()
+optdepends=('perl-cpanel-json-xs>=4.09: Faster JSON encoding and decoding')
url='https://metacpan.org/release/Mojolicious'
source=("https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-${pkgver}.tar.gz")
md5sums=('ba0bafb5a2ba2ceb2037ebf126514350')