Package Details: perl-file-homedir 1.00-3

Git Clone URL: https://aur.archlinux.org/perl-file-homedir.git (read-only)
Package Base: perl-file-homedir
Description: Find your home and other directories on any platform
Upstream URL: https://metacpan.org/release/File-HomeDir
Licenses: GPL, PerlArtistic
Submitter: graziano
Maintainer: bidulock
Last Packager: bidulock
Votes: 46
Popularity: 0.613441
First Submitted: 2007-05-02 14:01
Last Updated: 2016-03-05 08:43

Latest Comments

kevku commented on 2016-02-24 14:05

this PKGBUILD needs updating to prevent installation in user's home folder, see example at https://wiki.archlinux.org/index.php/Perl_package_guidelines

mgrimes commented on 2013-06-19 17:03

The the build function doesn't reset the local::lib env variables, so the installed files might not end up in the correct lib dirs.

Before executing Makefile.PL in build() you need:

# Set env variables to overwrite any existing options we don't want and
# specify the vendor destination
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
PERL5LIB="" PERL_LOCAL_LIB_ROOT="" \
MODULEBUILDRC=/dev/null

You can get more info here:

https://wiki.archlinux.org/index.php/Perl_Package_Guidelines

Thanks

chimeracoder commented on 2013-04-19 03:58

@bidulock Thanks, I've updated the PKGBUILD with the one you provided.


As for the license, it does appear to be under the GPL: https://metacpan.org/source/ADAMK/File-HomeDir-1.00/LICENSE

bidulock commented on 2013-04-14 10:28

perl-file-which is way past 0.05, make the dependency just perl-file-which.

bidulock commented on 2013-04-14 10:27

perl>=5.5.30 is in base. Remove the dependency.

bidulock commented on 2013-04-14 10:25

The license does not include GPL, it is PerlArtistic only.

bidulock commented on 2013-04-14 10:24

What I mean to say is $_dist includes $srcdir. $srcdir cannot be referred to outside build() check() or package() functions.

bidulock commented on 2013-04-14 10:22

Also you cannot refer to variables outside of the function such as you are doing with $_dist.

bidulock commented on 2013-04-14 10:20

This package will no longer build. You can no longer refer to $pkgdir from any function other than package() in makepkg 4.1.0.