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

pkgname=perl-math-interpolate
pkgver=1.06
pkgrel=2
pkgdesc='Perl module providing routines for interpolating data sets'
arch=('any')
url='https://metacpan.org/release/Math-Interpolate'
license=('PerlArtistic' 'GPL')
depends=('perl')
source=(http://search.cpan.org/CPAN/authors/id/B/BZ/BZAJAC/Math-Interpolate-1.06.tar.gz)
options=(!emptydirs)
md5sums=('06529ef3b1c94f32a0da5dbe0ebdef5e')

build() {
	cd Math-Interpolate-1.06
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd Math-Interpolate-1.06
	make test
}

package() {
	cd Math-Interpolate-1.06
	make install DESTDIR="$pkgdir"
	find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
}