# Automatically generated by apkbuild-cpan, template 1 # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-devel-symdump _pkgreal=Devel-Symdump pkgver=2.12 pkgrel=0 pkgdesc="dump symbol names or the symbol table" url="http://search.cpan.org/dist/Devel-Symdump/" arch="noarch" license="GPL PerlArtistic" cpandepends="" cpanmakedepends=" " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` make && make test } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="004112b0c820556f6d073f77425a9f3d Devel-Symdump-2.12.tar.gz" sha256sums="9949c44f7646d380e71744f6d12291de29b0f468fe96e8e1614feb913054073d Devel-Symdump-2.12.tar.gz" sha512sums="a123e41daf386963c0e199702386b07db75cb675574137c0661183add10d95ef568e48a9c2639373b39e6102ce16c4685ff538711f7d76b3a27c1fee4bd80506 Devel-Symdump-2.12.tar.gz"