# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-path-class _pkgreal=Path-Class pkgver=0.32 pkgrel=0 pkgdesc="Cross-platform path specification manipulation" url="http://search.cpan.org/dist/Path-Class/" arch="noarch" license="GPL PerlArtistic" cpandepends="" cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/$_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 } md5sums="c3f3bacb17cbefd4f5b47159445415f8 Path-Class-0.32.tar.gz" sha256sums="320ba296e134170eaabb42ff3929f82419bedd4de98bf44babfaccef17d3ecb8 Path-Class-0.32.tar.gz" sha512sums="e943f4ef8069718dbd41025f2eae2bb827e903e98eb7f9d906f70373d88e8dfeb4aeef80c49773afdfba026dc39e673cb2323cc439d3def2007c86e1fbefcc05 Path-Class-0.32.tar.gz"