summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b82977c556b02332b76b998417ec55c3cf9fedf (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
# CPAN Name  : List::Gen
# Contributor: Anton Leontiev <scileont /at/ gmail.com>
# Generator  : CPANPLUS::Dist::Arch 1.32

pkgname=perl-list-gen
pkgver=0.974
pkgrel=2
pkgdesc='Perl module providing functions for generating lists'
arch=('any')
url='https://metacpan.org/release/List-Gen'
license=('PerlArtistic' 'GPL')
options=(!emptydirs)
depends=('perl>=5.8.6')
source=(http://search.cpan.org/CPAN/authors/id/A/AS/ASG/List-Gen-0.974.tar.gz)
md5sums=('33f0ea7028b65da38d8e3b5034c91d19')

build() {
	cd List-Gen-0.974
	PERL_MM_USE_DEFAULT=1 perl Build.PL --installdirs vendor --destdir "$pkgdir"
	perl Build
}

check() {
	cd List-Gen-0.974
	perl Build test
}

package() {
	cd List-Gen-0.974
	perl Build install
	find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
}