From 62b52e4be7d172b4bf2f964d6ceeb0af31f13af7 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 31 May 2018 16:05:38 +0000 Subject: perl-proc-daemon: update to 0.22 --- abs/core/perl_modules/perl-proc-daemon/PKGBUILD | 63 ++++++++++++++++++------- 1 file changed, 45 insertions(+), 18 deletions(-) diff --git a/abs/core/perl_modules/perl-proc-daemon/PKGBUILD b/abs/core/perl_modules/perl-proc-daemon/PKGBUILD index f5df566..f6d3b64 100644 --- a/abs/core/perl_modules/perl-proc-daemon/PKGBUILD +++ b/abs/core/perl_modules/perl-proc-daemon/PKGBUILD @@ -1,23 +1,50 @@ -# Contributor: xduugu +# Contributor: John D Jones III AKA jnbek +# Generator : CPANPLUS::Dist::Arch 1.32 -pkgname=perl-proc-daemon -pkgver=0.03 -pkgrel=1 -pkgdesc="run Perl program as a daemon process" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~EHOOD/Proc-Daemon" -license=('GPL' 'PerlArtistic') -depends=('perl') +pkgname='perl-proc-daemon' +pkgver='0.22' +pkgrel='1' +pkgdesc="Run Perl program(s) as a daemon process" +arch=('any') +license=('PerlArtistic' 'GPL') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/E/EH/EHOOD/Proc-Daemon-$pkgver.tar.gz) -md5sums=('6e1b83ac0f0add22f63597733f38c973') -sha1sums=('25df5ee454527772ff95bc44980101a6766edb8a') +depends=('perl') +makedepends=('perl-proc-processtable') +url='https://metacpan.org/release/Proc-Daemon' +source=('http://search.cpan.org/CPAN/authors/id/A/AK/AKREAL/Proc-Daemon-0.22.tar.gz') +md5sums=('0c10a6291d776025d3cfd58e49b540af') +sha512sums=('4845882034fc5ddd34361bff90d265fe512a7b3a54238bc899a07bf29ce1d030f45c6de769c146767436a61d17ddc7198e344a3c073bc168af16f05872f38af5') +_distdir="Proc-Daemon-0.22" build() { - cd "$srcdir/Proc-Daemon-$pkgver" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR="$pkgdir/" || return 1 - find "$pkgdir" -name '.packlist' -delete - find "$pkgdir" -name '*.pod' -delete + ( 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/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) } + +package() { + cd "$srcdir/$_distdir" + make install + + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: -- cgit v0.12