# $Id: PKGBUILD 65817 2012-02-22 12:47:34Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-file-path-expand
pkgver=1.02
pkgrel=8
pkgdesc="Perl/CPAN Module File::Path::Expand"
arch=('any')
url="http://search.cpan.org/dist/File-Path-Expand"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/R/RC/RCLAMP/File-Path-Expand-1.02.tar.gz")
md5sums=('742aa40a4ffb26d14de01192764bd7ab')
options=('!emptydirs')

build() {
  cd $srcdir/File-Path-Expand-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}
package() {
  cd $srcdir/File-Path-Expand-$pkgver
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
