mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 14:56:46 +02:00
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=perl-list-allutils
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=List-AllUtils
|
|
pkgver=0.19
|
|
pkgrel=2
|
|
pkgdesc="Combines List::Util, List::SomeUtils and List::UtilsBy in one bite-sized package"
|
|
url="https://metacpan.org/release/List-AllUtils/"
|
|
arch="noarch"
|
|
license="Artistic-2.0"
|
|
depends="perl perl-list-utilsby perl-list-someutils"
|
|
makedepends="perl-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/List-AllUtils-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
3f06165a3f416c75f1dd2364cb111479b053eb0a32e3c6a5823e5e8206f79fd3039599e9521526c0080a009541a86f344d921f6679ba4d7eb930d0c1ca2e25f0 List-AllUtils-0.19.tar.gz
|
|
"
|