# Automatically generated by apkbuild-cpan, template 1 # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-struct-dumb _pkgreal=Struct-Dumb pkgver=0.02 pkgrel=0 pkgdesc="make simple lightweight record-like structures" url="http://search.cpan.org/dist/Struct-Dumb/" arch="noarch" license="GPL PerlArtistic" cpandepends="" cpanmakedepends="perl-test-fatal " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` 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 } md5sums="1bfd205321a58efdf390a600abb2d6b7 Struct-Dumb-0.02.tar.gz" sha256sums="9c483e45f7c6365ccf694aa8f09ec05598264cee70007e7b99c34c37f2935a5b Struct-Dumb-0.02.tar.gz" sha512sums="5814dde8fcb22aba50c2e980ca8a1bddf3dc659f575ef65de695ef1aab408d28d2a8a3be282c1e6e12f27f7d137f44c33f67a11d79ca8cf04809695e83d5a1ad Struct-Dumb-0.02.tar.gz"