[arch-commits] Commit in (4 files)

Frederik Schwan freswa at archlinux.org
Fri Oct 30 16:02:30 UTC 2020


    Date: Friday, October 30, 2020 @ 16:02:29
  Author: freswa
Revision: 736743

move perl-json-webtoken from unsupported to [community]

Added:
  perl-json-webtoken/
  perl-json-webtoken/repos/
  perl-json-webtoken/trunk/
  perl-json-webtoken/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Added: perl-json-webtoken/trunk/PKGBUILD
===================================================================
--- perl-json-webtoken/trunk/PKGBUILD	                        (rev 0)
+++ perl-json-webtoken/trunk/PKGBUILD	2020-10-30 16:02:29 UTC (rev 736743)
@@ -0,0 +1,32 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+
+pkgname=perl-json-webtoken
+pkgver=0.10
+pkgrel=4
+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')
+source=("https://cpan.metacpan.org/authors/id/X/XA/XAICRON/JSON-WebToken-${pkgver}.tar.gz")
+b2sums=('823f09e7d0c2d325de19c0d0f1204d1d0573407978c6d86119e052264c16d8c81a49ee74a9551bcbbe8f054916cd02236e4fb8f0c26ee5e539b71e1a30cdceb6')
+
+build() {
+  cd JSON-WebToken-${pkgver}
+  perl Build.PL
+  ./Build
+}
+
+check() {
+  cd JSON-WebToken-${pkgver}
+  ./Build test
+}
+
+package(){
+  cd JSON-WebToken-${pkgver}
+  ./Build install --destdir "${pkgdir}"
+  # cleanup empty dir
+  rm -rf ${pkgdir}/usr/lib/
+}



More information about the arch-commits mailing list