diff options
author | sL1pKn07 | 2025-03-07 21:28:19 +0100 |
---|---|---|
committer | sL1pKn07 | 2025-03-07 21:28:19 +0100 |
commit | 290697c864cb4323efa7f772f2bd6412428c466e (patch) | |
tree | f109ac9a3a576ace4064807d2099677f45582000 | |
parent | c005715a9019adf422eba9911483e8e7970ee1c1 (diff) | |
download | aur-290697c864cb4323efa7f772f2bd6412428c466e.tar.gz |
bump
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 17 insertions, 19 deletions
@@ -3,7 +3,7 @@ pkgbase = perl-json-rpc pkgver = 1.06 pkgrel = 5 url = http://search.cpan.org/~dmaki/JSON-RPC - arch = x86_64 + arch = any license = PerlArtistic license = GPL checkdepends = perl-test-pod @@ -1,11 +1,12 @@ # Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> +# Generator : CPANPLUS::Dist::Arch 1.32 pkgname=perl-json-rpc _realname='JSON-RPC' pkgver=1.06 pkgrel=5 pkgdesc="Perl implementation of JSON-RPC 1.1 protocol" -arch=('x86_64') +arch=('any') conflicts=('perl-json-rpc-legacy') url='http://search.cpan.org/~dmaki/JSON-RPC' license=( @@ -25,34 +26,31 @@ checkdepends=('perl-test-pod') options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/D/DM/DMAKI/JSON-RPC-${pkgver}.tar.gz") sha256sums=('d75ba8b558988b3fdffa12ff62a55f0f1aaff8aa73b708bff3701ff88a2b8757') +_distdir="JSON-RPC-${pkgver}" build() { - cd "${_realname}-${pkgver}" - ( export PERL_MM_USE_DEFAULT=1 \ - PERL5LIB="" \ - PERL_AUTOINSTALL=--skipdeps \ - PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='${pkgdir}'" \ - PERL_MB_OPT="--installdirs vendor --destdir '${pkgdir}'" \ - MODULEBUILDRC=/dev/null + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='${pkgdir}'" \ + PERL_MB_OPT="--installdirs vendor --destdir '${pkgdir}'" \ + MODULEBUILDRC=/dev/null + cd "${srcdir}/${_distdir}" /usr/bin/perl Build.PL - ./Build + /usr/bin/perl Build ) } - check() { - cd "${_realname}-${pkgver}" - ( export PERL_MM_USE_DEFAULT=1 \ - PERL5LIB="" - - ./Build test + cd "${srcdir}/${_distdir}" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + /usr/bin/perl Build test ) } package() { - cd "${_realname}-${pkgver}" - ./Build install + cd "${srcdir}/${_distdir}" + /usr/bin/perl Build install - find "${pkgdir}" -name '.packlist' -o -name 'perllocal.pod' -delete + find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete } |