From 094def1e29e596e5758a0fd6b1a56a4fa72b9c98 Mon Sep 17 00:00:00 2001
From: Celeste <20312-Celeste@users.gitlab.alpinelinux.org>
Date: Sun, 11 Feb 2024 04:50:36 +0000
Subject: [PATCH] community/perl-business-isbn: upgrade to 3.009

also, upgrade to apkbuild-cpan template 4
---
 community/perl-business-isbn/APKBUILD | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/community/perl-business-isbn/APKBUILD b/community/perl-business-isbn/APKBUILD
index 3501c778a509..491a0ba0b3fe 100644
--- a/community/perl-business-isbn/APKBUILD
+++ b/community/perl-business-isbn/APKBUILD
@@ -1,23 +1,26 @@
-# Automatically generated by apkbuild-cpan, template 3
+# Automatically generated by apkbuild-cpan, template 4
 # Contributor: Francesco Colista <fcolista@alpinelinux.org>
 # Maintainer: Francesco Colista <fcolista@alpinelinux.org>
 pkgname=perl-business-isbn
+pkgver=3.009
+pkgrel=0
 #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 _pkgreal=Business-ISBN
-pkgver=3.008
-pkgrel=1
 pkgdesc="work with International Standard Book Numbers"
 url="https://metacpan.org/release/Business-ISBN/"
 arch="noarch"
 license="Artistic-2.0"
 depends="perl perl-business-isbn-data"
 subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Business-ISBN-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/B/BR/BRIANDFOY/Business-ISBN-$pkgver.tar.gz"
 builddir="$srcdir/$_pkgreal-$pkgver"
 
 build() {
 	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
-	PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+	PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
+		INSTALLDIRS=vendor \
+		NO_PACKLIST=1 \
+		NO_PERLLOCAL=1
 	make
 }
 
@@ -28,9 +31,8 @@ check() {
 
 package() {
 	make DESTDIR="$pkgdir" install
-	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
 }
 
 sha512sums="
-9a605666e14903f338a6098ed5aaa1506dcfd4049ac0773859a7f7b61e9b23a657b0d046d8a4d05506e21433dd7b6f387a396373323f233a8906eb319a60b9f1  Business-ISBN-3.008.tar.gz
+4764762ae323427aaa315ff0265e617c173dbff66fb6bb2a8afbd2eb991f773fd56c110c918c26bbc876c1283ba502aa35a66ea9801bd400bbbff157c651098f  Business-ISBN-3.009.tar.gz
 "
-- 
GitLab