summaryrefslogblamecommitdiff
path: root/user/perl-data-dump/APKBUILD
blob: 1ee807e3299330603bd43174bfe6fd484fe91786 (plain) (tree)
1
2
3
4
5
6
7
                                                         
                                                                   
                      



                               






                                                    
                      
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                    
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-data-dump
_pkgreal=Data-Dump
_author=GAAS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.23
pkgrel=0
pkgdesc="Perl module for outputting data structures"
url="https://metacpan.org/pod/Data::Dump"
arch="noarch"
license="Artistic-1.0-Perl AND GPL-2.0+"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

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

sha512sums="6fd6c23bb6df7f7396219149dbfd23132fc2ea1dd344c32f62fc27a1afeeb28d7ebf2d429184bb6d1189f412e218f9e62a966b49fdd9ad5564e5152d67a02b96  Data-Dump-1.23.tar.gz"