summaryrefslogblamecommitdiff
path: root/user/perl-list-someutils/APKBUILD
blob: 867e7d1668a9827b4984f408132ae500cd4e1e6b (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
                                                          
                           



                               
           



                                                               
                                       
                                                           
                                  
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                         
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-list-someutils
_pkgreal=List-SomeUtils
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.58
pkgrel=0
pkgdesc="Provide the stuff missing in Perl's List::Util module"
url="https://metacpan.org/release/List-SomeUtils"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-list-someutils-xs perl-module-implementation"
checkdepends="perl-test-leaktrace"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="e45f05dbd82914bf804cc1ee00c808b6f8b4f2c80f852db55b3efb13cfe1601c34926e4c7966887a75ef49fd0fb2bd43adf48d12c72687464ece4e2b5a697ff4  List-SomeUtils-0.58.tar.gz"