# Automatically generated by apkbuild-cpan, template 1 # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-want _pkgreal=Want pkgver=0.29 pkgrel=3 pkgdesc="unknown" url="http://search.cpan.org/dist/Want/" arch="all" license="GPL PerlArtistic" cpandepends="" cpanmakedepends=" " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/R/RO/ROBIN/$_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="33b2dae5db59781b9a0434fa1db04aab Want-0.29.tar.gz" sha256sums="b4e4740b8d4cb783591273c636bd68304892e28d89e88abf9273b1de17f552f7 Want-0.29.tar.gz" sha512sums="08df985de16b5e9dd67d6ed38d319da2511e92098f95a861a5a695eed8d77eaf412671b626e4da29b536147ad4da4a8cfdfd789ef204dac240073091481f3c1a Want-0.29.tar.gz"