Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
perl-image-sane


Commits:
478b1744 by Antonio Rojas at 2023-07-30T00:07:20+02:00
upgpkg: 5-5: perl 5.38 rebuild

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -6,7 +6,7 @@ pkgname=perl-image-sane
 _perl_namespace=Image
 _perl_module=Sane
 pkgver=5
-pkgrel=4
+pkgrel=5
 pkgdesc="Perl extension for the SANE (Scanner Access Now Easy) Project"
 arch=('x86_64')
 url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}";
@@ -16,10 +16,17 @@ depends=('perl' 'sane' 'perl-extutils-depends' 
'perl-extutils-pkgconfig' 'perl-r
 provides=('perl-sane')
 replaces=('perl-sane')
 conflicts=('perl-sane')
-source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz";)
-sha256sums=('229aa0e9f049efa760f3c2f6e61d9d539af43d8f764b50a6e03064b4729a35ff')
+source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz";
+         
https://rt.cpan.org/Public/Ticket/Attachment/2538823/1107284/Image-Sane-5-Replace-deprecated-given-and-when-operators.patch)
+sha256sums=('229aa0e9f049efa760f3c2f6e61d9d539af43d8f764b50a6e03064b4729a35ff'
+            'b81caa036aabe4bcb67ca2729854c8e1dabb62d17b17214e41c930937edbf488')
 options=('!emptydirs')
 
+prepare() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  patch -p1 -i 
../Image-Sane-5-Replace-deprecated-given-and-when-operators.patch # Fix tests 
with perl 5.38
+}
+
 build() {
   cd "${_perl_namespace}-${_perl_module}-${pkgver}"
   unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/perl-image-sane/-/commit/478b1744015cd463d04424ee1af4f39fa004810a

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/perl-image-sane/-/commit/478b1744015cd463d04424ee1af4f39fa004810a
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to