# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details # Maintainer: Charles Mauch pkgname=perl-file-which _realname=File-Which pkgver=1.08 pkgrel=1 pkgdesc="Portable implementation of which" arch=(any) url="http://search.cpan.org/dist/File-Which" license=("GPL" "Artistic") source=("http://www.cpan.org/authors/id/A/AD/ADAMK/${_realname}-${pkgver}.tar.gz") md5sums=('e93e2ad62ff86726a2156e0cc0c066fe') build() { cd $startdir/src/${_realname}-${pkgver} PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=$startdir/pkg || return 1 find $startdir/pkg -name '.packlist' -delete find $startdir/pkg -name '*.pod' -delete }