upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-list-someutils / trunk / PKGBUILD
blobbc660615479cb1f1bddb8645c27e512684d3b8ab
1 # CPAN Name  : List::AllUtils
2 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
3 # Generator  : CPANPLUS::Dist::Arch 1.29
5 pkgname=perl-list-someutils
6 pkgver=0.59
7 pkgrel=1
8 pkgdesc='Perl package that combines List::Util and List::MoreUtils in one bite-sized package'
9 arch=('any')
10 url='https://search.cpan.org/dist/List-SomeUtils'
11 license=('Artistic2.0')
12 depends=('perl' 'perl-module-implementation')
13 checkdepends=('perl-test-warnings')
14 source=(https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-SomeUtils-$pkgver.tar.gz)
15 options=(!emptydirs)
16 sha256sums=('fab30372e4c67bf5a46062da38d1d0c8756279feada866eb439fa29571a2dc7b')
18 build() {
19         cd List-SomeUtils-$pkgver
20         unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
21         export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
22         perl Makefile.PL INSTALLDIRS=vendor
23         make
26 check() {
27         cd List-SomeUtils-$pkgver
28         unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
29         export PERL_MM_USE_DEFAULT=1
30         make test
33 package() {
34         cd List-SomeUtils-$pkgver
35         unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
36         make install DESTDIR="$pkgdir"
37         find "$pkgdir" -name .packlist -o -name perllocal.pod -delete