# Automatically generated by apkbuild-cpan, template 1 # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-list-moreutils _pkgreal=List-MoreUtils pkgver=0.412 pkgrel=1 pkgdesc="Provide the stuff missing in List::Util" url="http://search.cpan.org/dist/List-MoreUtils/" arch="all" license="GPL PerlArtistic" cpandepends="perl-exporter-tiny" cpanmakedepends=" perl-test-leaktrace" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` make && make test } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="2ab2b8f27f7a6a4389898a7a383aadb3 List-MoreUtils-0.412.tar.gz" sha256sums="66d31289647761e772fa26baa14e513e34c4186af7e5ee8a1bc13c79d1ee15b3 List-MoreUtils-0.412.tar.gz" sha512sums="6be4bda9cfb9dc9e3a7a9263323b3297994ec7057b620067f99fe3c1714700c58d3d753711196b0f92cf417cf2a231532031ef3a630d56d8290d5c25aca40deb List-MoreUtils-0.412.tar.gz"