# Automatically generated by apkbuild-cpan, template 1 # Contributor: # Maintainer: Kevin Daudt pkgname=perl-types-serialiser _pkgreal=Types-Serialiser pkgver=1.0 pkgrel=1 pkgdesc="unknown" url="http://search.cpan.org/dist/Types-Serialiser/" arch="noarch" license="GPL PerlArtistic" cpandepends= cpanmakedepends="perl-common-sense" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/$_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 } check() { export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` make test } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="76460a2bfbc644672499af89192e03fe Types-Serialiser-1.0.tar.gz" sha256sums="7ad3347849d8a3da6470135018d6af5fd8e58b4057cd568c3813695f2a04730d Types-Serialiser-1.0.tar.gz" sha512sums="b786bcd3ee976a6ad948cc98a9c71d2cdcd30f485528eff059091f6d86ae7078c10ba2dc2982326fcf0184dbfbdddea84daff324c6ec6a129fe6aac01253c8fb Types-Serialiser-1.0.tar.gz"