# Automatically generated by apkbuild-cpan, template 1 # Contributor: Kiyoshi Aman # Maintainer: Kiyoshi Aman pkgname=perl-test-identity _pkgreal=Test-Identity pkgver=0.01 pkgrel=1 pkgdesc="assert the referential identity of a reference" url="https://metacpan.org/release/Test-Identity/" arch="noarch" license="GPL PerlArtistic" cpandepends="" cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends perl-module-build" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" perl Build.PL installdirs=vendor || return 1 } build() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` ./Build && ./Build test } package() { cd "$_builddir" ./Build install destdir="$pkgdir" || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="eee20978e2e39a11c5649b4609840f02686482f8fe4c0c2de639bfd9749ba9a08202f70b660432f1142ff800824ee2a6e9e43873f3f089041cd3e864ff502c32 Test-Identity-0.01.tar.gz"