summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072025-03-07 21:28:19 +0100
committersL1pKn072025-03-07 21:28:19 +0100
commit290697c864cb4323efa7f772f2bd6412428c466e (patch)
treef109ac9a3a576ace4064807d2099677f45582000
parentc005715a9019adf422eba9911483e8e7970ee1c1 (diff)
downloadaur-290697c864cb4323efa7f772f2bd6412428c466e.tar.gz
bump
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD34
2 files changed, 17 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6f638a5b5e7c..aa5a9f1a06ff 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index edd5257ebac3..d6ac384c6521 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}