blob: 8fea1b8e444e579d6c6367439d461947464afb6d (
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
35
36
37
38
39
|
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: AUR Perl <aurperl@juster.info>
pkgname='perl-data-dumper'
pkgver=2.131
pkgrel=1
pkgdesc="Convert data structure into perl code"
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
makedepends=()
url='http://search.cpan.org/dist/Data-Dumper'
source=("http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/Data-Dumper-$pkgver.tar.gz")
md5sums=('653ac6576e6916446419ae4ba786073f')
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "${srcdir}/Data-Dumper-$pkgver"
/usr/bin/perl Makefile.PL
make
)
}
check() {
cd "${srcdir}/Data-Dumper-$pkgver"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" make test )
}
package() {
cd "${srcdir}/Data-Dumper-$pkgver"
make install
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
|