# Automatically generated by apkbuild-cpan, template 1 # Contributor: # Maintainer: pkgname=perl-dancer _pkgreal=Dancer pkgver=1.3142 pkgrel=0 pkgdesc="Perl module for Dancer" url="http://search.cpan.org/dist/Dancer/" arch="noarch" license="GPL PerlArtistic" cpanmakedepends="" cpandepends="perl-module-runtime perl-try-tiny perl-hash-merge-simple perl-mime-types perl-http-server-simple-psgi perl-http-body perl-devel-hide perl-plack" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/$_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="3072888c96c377a25ac56334e011b953 Dancer-1.3142.tar.gz" sha256sums="655fb4b9c2cf27d1c25fd68b90c396fc27381c7075b85bf7f8a71fef626de94f Dancer-1.3142.tar.gz" sha512sums="f3093ac7df7aa8ba6739d5d40d7ba2a1274a3114368b9a0ae9cb61bfc9ac6c07918eb225faafc2c452eaafec8599e61faf9ac2a175214758d702602fdb4aa325 Dancer-1.3142.tar.gz"