# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Maintainer: Chris Brannon # Contributor: François Charette pkgname=perl-freezethaw pkgver=0.5001 pkgrel=7 pkgdesc="Convert arbitrary objects to/from strings" arch=('any') url="https://search.cpan.org/dist/FreezeThaw" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') options=('!emptydirs') source=(https://www.cpan.org/authors/id/I/IL/ILYAZ/modules/FreezeThaw-$pkgver.tar.gz) sha256sums=('3c5e08329106f9cee3ab444b81331c5935f83084a151d88505e7a465da540f41') build() { cd "$srcdir/FreezeThaw-$pkgver" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd "$srcdir/FreezeThaw-$pkgver" make install DESTDIR="$pkgdir" find "$pkgdir" -name '.packlist' -delete find "$pkgdir" -name '*.pod' -delete }