[arch-commits] Commit in perl-json-maybexs/repos/community-any (PKGBUILD PKGBUILD)
Fabio Castelli
muflone at gemini.archlinux.org
Mon Mar 7 16:37:46 UTC 2022
Date: Monday, March 7, 2022 @ 16:37:46
Author: muflone
Revision: 1144391
archrelease: copy trunk to community-any
Added:
perl-json-maybexs/repos/community-any/PKGBUILD
(from rev 1144390, perl-json-maybexs/trunk/PKGBUILD)
Deleted:
perl-json-maybexs/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-07 16:37:29 UTC (rev 1144390)
+++ PKGBUILD 2022-03-07 16:37:46 UTC (rev 1144391)
@@ -1,41 +0,0 @@
-# Maintainer: Muflone http://www.muflone.com/contacts/english/
-# Contributor: <michael dot kogan at gmx dot net>
-# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
-
-pkgname=perl-json-maybexs
-_perl_module=JSON-MaybeXS
-pkgver=1.004003
-pkgrel=2
-pkgdesc="Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP"
-arch=('any')
-license=('PerlArtistic' 'GPL')
-depends=('perl')
-makedepends=('perl-test-needs')
-optdepends=('perl-cpanel-json-xs: Using Cpanel-JSON-XS')
-options=('!emptydirs')
-url="https://metacpan.org/release/${_perl_module}"
-source=("https://cpan.metacpan.org/authors/id/E/ET/ETHER/${_perl_module}-${pkgver}.tar.gz")
-sha512sums=('4690be671ea59f82ab24cc5c72d0f4a98a21f40d33c0acac853a2b15eac38933f7af3e1212ee6b5479d5e639246ebb5726c25e837996722fcfef7029dd5ed6fe')
-
-build() {
- cd "${_perl_module}-${pkgver}"
- unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
- export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
- perl Makefile.PL
- make
-}
-
-check() {
- cd "${_perl_module}-${pkgver}"
- unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
- export PERL_MM_USE_DEFAULT=1
- make test
-}
-
-package() {
- cd "${_perl_module}-${pkgver}"
- unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
- make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
- # Delete unuseful files
- find "${pkgdir}" -name '.packlist' -delete
-}
Copied: perl-json-maybexs/repos/community-any/PKGBUILD (from rev 1144390, perl-json-maybexs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-07 16:37:46 UTC (rev 1144391)
@@ -0,0 +1,41 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: <michael dot kogan at gmx dot net>
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+
+pkgname=perl-json-maybexs
+_perl_module=JSON-MaybeXS
+pkgver=1.004003
+pkgrel=3
+pkgdesc="Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+makedepends=('perl-test-needs')
+optdepends=('perl-cpanel-json-xs: Using Cpanel-JSON-XS')
+options=('!emptydirs')
+url="https://metacpan.org/release/${_perl_module}"
+source=("https://cpan.metacpan.org/authors/id/E/ET/ETHER/${_perl_module}-${pkgver}.tar.gz")
+sha512sums=('4690be671ea59f82ab24cc5c72d0f4a98a21f40d33c0acac853a2b15eac38933f7af3e1212ee6b5479d5e639246ebb5726c25e837996722fcfef7029dd5ed6fe')
+
+build() {
+ cd "${_perl_module}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "${_perl_module}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+}
+
+package() {
+ cd "${_perl_module}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+ # Delete unuseful files
+ find "${pkgdir}" -name '.packlist' -delete
+}
More information about the arch-commits
mailing list