summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e2d38775b1827e16e7e3f0efdb00ee2684f363e7 (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: Anton Leontiev <scileont /at/ gmail.com>
# Generator  : CPANPLUS::Dist::Arch 1.32

pkgname=perl-algorithm-combinatorics
pkgver=0.27
pkgrel=2
pkgdesc='Perl module for efficient generation of combinatorial sequences'
arch=('i686' 'x86_64')
url='https://metacpan.org/release/Algorithm-Combinatorics'
license=('GPL' 'PerlArtistic')
source=(http://search.cpan.org/CPAN/authors/id/F/FX/FXN/Algorithm-Combinatorics-0.27.tar.gz)
depends=('perl')   # provides 'perl-scalar-list-utils', 'perl-xsloader'
makedepends=()     # provides 'perl-extutils-makemaker'
checkdepends=()    # provides 'perl-test-simple'
options=(!emptydirs)
md5sums=('bada976399f9edfe364d6fcf9e0bcde2')

build() {
	cd Algorithm-Combinatorics-0.27
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd Algorithm-Combinatorics-0.27
	make test
}

package() {
	cd Algorithm-Combinatorics-0.27
	make install DESTDIR="$pkgdir"
	find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
}