diff options
Diffstat (limited to 'perl-http-daemon/PKGBUILD')
-rw-r--r-- | perl-http-daemon/PKGBUILD | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/perl-http-daemon/PKGBUILD b/perl-http-daemon/PKGBUILD deleted file mode 100644 index a5205b6b6..000000000 --- a/perl-http-daemon/PKGBUILD +++ /dev/null @@ -1,80 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Generator : neuesPerlPaket (8d5949ef974a6c50e1fb6b6745da5ffeba5c722dbfa7d843cc9c543dd678e0eaa964db305fab2c7d2d12b70f301caf01810a4903d0a9f23fc5a9625a9797f655) - -pkgname='perl-http-daemon' -pkgver=6.14 -pkgrel=3 -pkgdesc='A simple http server class' -arch=('any') -license=('PerlArtistic' 'GPL') -options=('!emptydirs') -depends=( - 'perl>=5.36' - 'perl<5.37' - 'perl-carp' - 'perl-http-date>=6' - 'perl-http-message>=6' - 'perl-io-socket-ip>=0.32' - 'perl-lwp-mediatypes>=6' - 'perl-socket') -makedepends=( - 'perl-extutils-makemaker' - 'perl-http-tiny>=0.042' - 'perl-module-build-tiny>=0.034' - 'perl-module-metadata' - 'perl-pathtools' - 'perl-test' - 'perl-test-needs' - 'perl-test-simple>=0.98' - 'perl-uri') -url='https://metacpan.org/dist/HTTP-Daemon' -_distdir="HTTP-Daemon-${pkgver}" -source=("https://cpan.metacpan.org/authors/id/O/OA/OALDERS/${_distdir}.tar.gz") -sha512sums=('baae522b24211d04bc53d0f89f9e7b6b98681772eb79e28a72aa2b57c023a92e1264923abc2fefc24e28be265e17530541fd9d3a559d5bcfca00a8f5b0e9d85e') - -build() { - cd "${srcdir}/${_distdir}" - - # Setting these env variables overwrites any command-line-options we don't want... - export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \ - PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='${pkgdir}'" \ - PERL_MB_OPT="--installdirs vendor --destdir '${pkgdir}'" \ - MODULEBUILDRC=/dev/null - - # If using Makefile.PL - if [ -r Makefile.PL ]; then - perl Makefile.PL - make - # If using Build.PL - elif [ -r Build.PL ]; then - perl Build.PL - perl Build - fi -} - -check() { - cd "${srcdir}/${_distdir}" - - # If using Makefile.PL - if [ -r Makefile.PL ]; then - make test - # If using Build.PL - elif [ -r Build.PL ]; then - perl Build test - fi -} - -package() { - cd "${srcdir}/${_distdir}" - - # If using Makefile.PL - if [ -r Makefile.PL ]; then - make install - # If using Build.PL - elif [ -r Build.PL ]; then - perl Build install - fi - - # remove perllocal.pod and .packlist - find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete -} |