blob: 0f93044a5378190482999d3399e69251e78ce4d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-list-allutils
_pkgreal=List-AllUtils
pkgver=0.16
pkgrel=0
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-scalar-list-utils 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"
prepare() {
default_prepare
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="e4644aebf8b152888f41082dca7380146a3a784af2c7a3705d8332b5effd35684702e85085a1865281be03c9f4d7e230141459d8680365c3437e928f7f948417 List-AllUtils-0.16.tar.gz"
|