1 # Maintainer: Florian Pritz <bluewind@xinu.at>
6 pkgdesc="use the lchown(2) system call from Perl"
8 license=(PerlArtistic GPL)
11 makedepends=('perl-module-build')
12 url=https://metacpan.org/release/Lchown
13 source=("https://search.cpan.org/CPAN/authors/id/N/NC/NCLEATON/Lchown-${pkgver}.tar.gz")
14 md5sums=('e3db31be650437eb5d9bfc4da6252ee3')
17 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
18 PERL_AUTOINSTALL=--skipdeps \
19 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
20 PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
21 MODULEBUILDRC=/dev/null
23 cd "${srcdir}/Lchown-${pkgver}"
24 /usr/bin/perl Build.PL
29 export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
30 cd "${srcdir}/Lchown-${pkgver}"
35 cd "${srcdir}/Lchown-${pkgver}"
37 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete