diff options
author | Britney Fransen <brfransen@gmail.com> | 2023-01-23 18:31:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2023-01-23 18:31:27 (GMT) |
commit | 1d60b87c386dd8df7715f48319d2229fea35d037 (patch) | |
tree | 9d99669ba63d1a14394a4e3901add12bac038fed /linhes/perl-lwp-useragent-determined/PKGBUILD | |
parent | a18514a67de651b114f47b9c3fe2c2e792ee32b7 (diff) | |
download | linhes_pkgbuild-1d60b87c386dd8df7715f48319d2229fea35d037.zip linhes_pkgbuild-1d60b87c386dd8df7715f48319d2229fea35d037.tar.gz linhes_pkgbuild-1d60b87c386dd8df7715f48319d2229fea35d037.tar.bz2 |
perl-lwp-useragent-determined: dep of xmltv
Diffstat (limited to 'linhes/perl-lwp-useragent-determined/PKGBUILD')
-rw-r--r-- | linhes/perl-lwp-useragent-determined/PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/linhes/perl-lwp-useragent-determined/PKGBUILD b/linhes/perl-lwp-useragent-determined/PKGBUILD new file mode 100644 index 0000000..3ed9e17 --- /dev/null +++ b/linhes/perl-lwp-useragent-determined/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Felix Golatofski <contact@xdfr.de> +# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com> +# Generator : CPANPLUS::Dist::Arch 1.25 + +pkgname='perl-lwp-useragent-determined' +pkgver='1.07' +pkgrel='3' +pkgdesc="a virtual browser that retries errors" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-libwww') +makedepends=() +url='https://search.cpan.org/dist/LWP-UserAgent-Determined' +source=("https://cpan.metacpan.org/authors/id/A/AL/ALEXMV/LWP-UserAgent-Determined-${pkgver}.tar.gz") +sha512sums=('bed056468366bf86f0711a23c5bdb502a614efa2fd80d632f8d43d33295309d0ee88e439933cb3eda99192ad7d7025d0a7f6f0a53a45e79e70512771bb58ae7d') +_distdir="LWP-UserAgent-Determined-${pkgver}" + +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/$_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: |