blob: dcf48a2b9d37450506a275a76cae8ac73cf708a8 (
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
|
# CPAN Name : Algorithm::Combinatorics
# Contributor: [% packager %]
# Generator : CPANPLUS::Dist::Arch [% version %]
pkgname=[% pkgname %]
pkgver=[% pkgver %]
pkgrel=[% pkgrel %]
pkgdesc='Perl module for efficient generation of combinatorial sequences'
arch=('i686' 'x86_64')
url='[% url %]'
license=('GPL' 'PerlArtistic')
source=([% source %])
depends=('perl') # provides 'perl-scalar-list-utils', 'perl-xsloader'
makedepends=() # provides 'perl-extutils-makemaker'
checkdepends=() # provides 'perl-test-simple'
options=(!emptydirs)
md5sums=('[% md5sums %]')
build() {
cd [% distdir %]
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd [% distdir %]
make test
}
package() {
cd [% distdir %]
make install DESTDIR="$pkgdir"
find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
}
|