# Description: File::HomeDir is a module for locating the directories that are "owned" by a user (typically your user) and to solve the various issues that arise trying to find them consistently across a wide variety of platforms. # URL: https://metacpan.org/pod/File::HomeDir # Maintainer: Hans Bezemer, hbezemer at kliksafe dot nl # Depends on: p5-file-which name=p5-file-homedir version=1.006 release=1 source=(https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-HomeDir-${version}.tar.gz) build() { cd File-HomeDir-$version unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps perl Makefile.PL make #make test make install INSTALLDIRS=vendor DESTDIR=$PKG find $PKG -name .packlist -o \ -name perllocal.pod -o \ -name README -o \ -name '*.bs' | xargs rm rm -r $PKG/usr/share/man/ }