# Maintainer: Jesus E. pkgname=perl-devel-symdump pkgver=2.18 pkgrel=2 pkgdesc="Perl symbol table access and dumping" arch=('any') url="https://search.cpan.org/dist/Devel-Symdump" license=('GPL-1') depends=('perl>=5.10.0') options=('!emptydirs') source=(https://www.cpan.org/authors/id/A/AN/ANDK/Devel-Symdump-$pkgver.tar.gz COPYING) sha512sums=('4e8e1ee723e3e02d2f0c100dace40d7722f6366402cff24fb50c8616a863628bc2faa02210754132afa7cbebbd90c75ea6f173e15bbcfaa5158dfcfdfd03da73' 'e239b539f2c46c1ae3da87c4983a0fda67dc8ae622d607b507b5c523af3bdf99e7bea8931e3a7c6007910bfe9e21a761e03e8203de95b5aceea425a97d0a84c9') build() { cd "$srcdir"/Devel-Symdump-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd "$srcdir"/Devel-Symdump-$pkgver make install DESTDIR="$pkgdir" find "$pkgdir" -name '.packlist' -delete find "$pkgdir" -name '*.pod' -delete install -Dm644 ../COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING }