summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-data-dump/PKGBUILD
blob: 56d1beaf6392c25333952fca7105ed720ecf6f1e (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
# $Id$
# Maintainer:

pkgname=perl-data-dump
pkgver=1.23
pkgrel=3
pkgdesc="Pretty printing of data structures"
arch=(any)
url="https://metacpan.org/release/Data-Dump"
license=(PerlArtistic GPL)
depends=('perl')
options=(!emptydirs)
source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Data-Dump-${pkgver}.tar.gz")
sha1sums=('7da875cde34b6fe32b680eaa0c70121e4b69f09b')
sha1sums=('3f5c0d4a15c8dd6befbcdceb41fe15b9aef1b741')

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

check() {
  cd Data-Dump-${pkgver}
  make test
}

package() {
  cd Data-Dump-${pkgver}
  make DESTDIR="$pkgdir" install
}