blob: 32f110a7cd19498423a47a3bba86003488598cc8 (
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
39
40
41
|
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-list-allutils
_pkgreal=List-AllUtils
pkgver=0.12
pkgrel=0
pkgdesc="Combines List::Util, List::SomeUtils and List::UtilsBy in one bite-sized package"
url="http://search.cpan.org/dist/List-AllUtils/"
arch="noarch"
license="Artistic-2"
cpandepends="perl-list-utilsby perl-list-someutils"
cpanmakedepends=" "
depends="$cpandepends perl-scalar-list-utils"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
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="8803c2beaccaf5b042efd4399ed107e5 List-AllUtils-0.12.tar.gz"
sha256sums="0b5352317652c22b53bee64e1984efd9f21edfad321b0e5a98cdec5ec87bbcae List-AllUtils-0.12.tar.gz"
sha512sums="788bbb0eef590e4ead136653ac8532788979a4f0c639b23ee1e32372ed9160fe1c6caf3e263c1e0a5f04452d1f58025b4c3244701fbde12648e01e0011646df7 List-AllUtils-0.12.tar.gz"
|