# Automatically generated by apkbuild-cpan, template 1 # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-test-exception _pkgreal=Test-Exception pkgver=0.40 pkgrel=0 pkgdesc="Perl - Test exception based code" url="http://search.cpan.org/dist/Test-Exception/" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-sub-uplevel" cpanmakedepends=" " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" } build() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make || return 1 } package() { cd "$_builddir" make install DESTDIR=$pkgdir find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="29993e711cf671f8f2ec759f410de681 Test-Exception-0.40.tar.gz" sha256sums="d92ccb566d93140abc93b07ec4c13e9b14c8f8f7d7858a2ab575d83b3bb51b26 Test-Exception-0.40.tar.gz" sha512sums="cf85ef0d1991b0797a5823f827a9ad33ceac78f163b97afab19e9c3a11e3cf7505c5a37518dadb5636db42f0337f53df8e0045a5f3fe2200159ee4d83a591902 Test-Exception-0.40.tar.gz"