Date: Wednesday, August 1, 2018 @ 12:14:44 Author: foutrelis Revision: 366707
archrelease: copy trunk to community-staging-x86_64 Added: perl-lchown/repos/community-staging-x86_64/ perl-lchown/repos/community-staging-x86_64/PKGBUILD (from rev 366706, perl-lchown/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: perl-lchown/repos/community-staging-x86_64/PKGBUILD (from rev 366706, perl-lchown/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-08-01 12:14:44 UTC (rev 366707) @@ -0,0 +1,38 @@ +# Maintainer: Florian Pritz <bluew...@xinu.at> + +pkgname=perl-lchown +pkgver=1.01 +pkgrel=9 +pkgdesc="use the lchown(2) system call from Perl" +arch=(x86_64) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=('perl') +makedepends=('perl-module-build') +url=https://metacpan.org/release/Lchown +source=("http://search.cpan.org/CPAN/authors/id/N/NC/NCLEATON/Lchown-${pkgver}.tar.gz") +md5sums=('e3db31be650437eb5d9bfc4da6252ee3') + +build() { + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \ + PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \ + MODULEBUILDRC=/dev/null + + cd "${srcdir}/Lchown-${pkgver}" + /usr/bin/perl Build.PL + ./Build +} + +check() { + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + cd "${srcdir}/Lchown-${pkgver}" + ./Build test +} + +package() { + cd "${srcdir}/Lchown-${pkgver}" + ./Build install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +}