blob: a86cd2d69261e4d92651dd98a4d58d7371358ce7 (
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: [% packager %]
# Generator : CPANPLUS::Dist::Arch [% version %]
pkgname=[% pkgname %]
pkgver=[% pkgver %]
pkgrel=[% pkgrel %]
pkgdesc='Perl module providing functions for generating lists'
arch=('any')
url='[% url %]'
license=('PerlArtistic' 'GPL')
options=(!emptydirs)
depends=('perl>=5.8.6')
source=([% source %])
md5sums=('[% md5sums %]')
build() {
cd [% distdir %]
PERL_MM_USE_DEFAULT=1 perl Build.PL --installdirs vendor --destdir "$pkgdir"
perl Build
}
check() {
cd [% distdir %]
perl Build test
}
package() {
cd [% distdir %]
perl Build install
find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
}
|