# # Games Packages for Chakra, part of chakra-project.org # # Maintainer: Adrián Chaves Fernández (Gallaecio) # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=perl-file-which _pkgname=File-Which pkgver=1.09 pkgrel=1 pkgdesc="Portable implementation of which." arch=('any') license=('PerlArtistic' 'GPL') options=('!emptydirs') depends=('perl' 'perl-class-inspector') url='http://search.cpan.org/dist/File-Which/' source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgname-$pkgver.tar.gz") md5sums=('b9429edaad7f45caafa4d458afcfd8af') build() { cd $srcdir/$_pkgname-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd $srcdir/$_pkgname-$pkgver make install DESTDIR="$pkgdir/" # Remove perllocal.pod and .packlist: find "$pkgdir" -name perllocal.pod -delete find "$pkgdir" -name .packlist -delete }