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


                                                                   



                               
           








                                                               

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                         
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
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"
depends="perl-list-someutils-xs perl-module-implementation"
makedepends="perl-dev"
checkdepends="perl-test-leaktrace"
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"