summaryrefslogtreecommitdiff
path: root/community/perl-data-dumper/PKGBUILD
blob: 22c3a81d8b0b8d58c3c23b54f53f0612061a90d3 (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
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-data-dumper
pkgver=2.145
pkgrel=2
pkgdesc="stringified perl data structures, suitable for both printing and eval"
arch=(i686 x86_64 mips64el)
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/Data-Dumper/"
depends=('perl')
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/Data-Dumper-$pkgver.tar.gz)
md5sums=('b773c875afcca866faf8481adc3464b0')

build() {
  cd $srcdir/Data-Dumper-${pkgver}
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd $srcdir/Data-Dumper-${pkgver}
  make install DESTDIR=$pkgdir
  find $pkgdir -name perllocal.pod -delete
  find $pkgdir -name .packlist -delete
}