updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-chart-math-axis / PKGBUILD
blobf2eea7a96d6c3e2202f29d4a6c041af453d2167b
1 # Maintainer: shacristo <shacristo at gmail dot com>
3 _author=ADAMK
4 _perlmod=Chart-Math-Axis
6 pkgname=perl-chart-math-axis
7 pkgver=1.06
8 pkgrel=1
9 pkgdesc="Implements an algorithm to find good values for chart axis"
10 arch=('any')
11 url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/"
12 license=('PerlArtistic')
13 depends=('perl')
14 options=(!emptydirs)
15 source=(http://search.cpan.org/CPAN/authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
16 md5sums=('2b0821981a44f6d6d880d8e62c186449')
18 build() {
19   cd "$srcdir/$_perlmod-$pkgver"
21   # Install module in vendor directories.
22   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
23   make
25   ## For packages with Build.PL, do this instead:
26   # perl Build.PL installdirs=vendor destdir="$pkgdir/"
27   # perl Build
30 package() {
31   cd "$srcdir/$_perlmod-$pkgver"
32   make install DESTDIR="$pkgdir/"
34   ## For packages with Build.PL, do this instead:
35   # perl Build install