summaryrefslogblamecommitdiff
path: root/user/perl-list-moreutils/APKBUILD
blob: 044cc6a638aa192335dc8e28803768a2c1d3ef99 (plain) (tree)
1
2
3
4
5
6
7


                                                                   



                               





                                                 

                                             
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                          
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-list-moreutils
_pkgreal=List-MoreUtils
_author=REHSACK
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.428
pkgrel=0
pkgdesc="Provide the stuff missing in List::Util"
url="https://metacpan.org/release/List-MoreUtils"
arch="noarch"
license="Apache-2.0"
depends="perl-exporter-tiny"
makedepends="perl-dev perl-list-moreutils-xs"
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="f7e11f10f1d7bd3b8f9f8bc2fc325e1a9230056f68591da624aed01fb4e4cbac20caeae0c3e2aa3acc8b71febd6d4149284367f051d3c1e608e3a4ca8b62dbd8  List-MoreUtils-0.428.tar.gz"