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 sha256sums=('9c0a13e279ad92208fb8fac73001635b0689251dd41b597522e1b3501ba0f76f')
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