[arch-commits] Commit in perl-json-webtoken/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 11:36:48 UTC 2021
Date: Monday, May 24, 2021 @ 11:36:48
Author: foutrelis
Revision: 944664
archrelease: copy trunk to community-staging-any
Added:
perl-json-webtoken/repos/community-staging-any/
perl-json-webtoken/repos/community-staging-any/PKGBUILD
(from rev 944662, perl-json-webtoken/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: perl-json-webtoken/repos/community-staging-any/PKGBUILD (from rev 944662, perl-json-webtoken/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 11:36:48 UTC (rev 944664)
@@ -0,0 +1,36 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+
+pkgname=perl-json-webtoken
+pkgver=0.10
+pkgrel=6
+pkgdesc='Perl/CPAN module JSON WebToken'
+arch=('any')
+url='https://metacpan.org/release/JSON-WebToken'
+license=('GPL')
+depends=('perl-json')
+makedepends=('perl-module-build' 'perl-module-runtime')
+checkdepends=('perl-test-mock-guard' 'perl-test-requires')
+options=('!emptydirs' purge)
+source=("https://cpan.metacpan.org/authors/id/X/XA/XAICRON/JSON-WebToken-${pkgver}.tar.gz")
+b2sums=('823f09e7d0c2d325de19c0d0f1204d1d0573407978c6d86119e052264c16d8c81a49ee74a9551bcbbe8f054916cd02236e4fb8f0c26ee5e539b71e1a30cdceb6')
+
+build() {
+ cd JSON-WebToken-${pkgver}
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
+ perl Build.PL
+ ./Build
+}
+
+check() {
+ cd JSON-WebToken-${pkgver}
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ ./Build test
+}
+
+package(){
+ cd JSON-WebToken-${pkgver}
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ ./Build install --installdirs=vendor --destdir="${pkgdir}"
+}
More information about the arch-commits
mailing list