diff options
Diffstat (limited to 'perl-dynaloader-functions/PKGBUILD')
-rw-r--r-- | perl-dynaloader-functions/PKGBUILD | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/perl-dynaloader-functions/PKGBUILD b/perl-dynaloader-functions/PKGBUILD deleted file mode 100644 index b58dad7dc..000000000 --- a/perl-dynaloader-functions/PKGBUILD +++ /dev/null @@ -1,73 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Generator : neuesPerlPaket (e1feeec1fef8ffa08f2187c3499d9064535d35bed5e6f05c4ea57fac8623450a307d700e0403d8d8f76f9ec6c003d314573d6cdb779aa9aae205c7f94571a7de) - -pkgname='perl-dynaloader-functions' -pkgver=0.003 -pkgrel=11 -pkgdesc='deconstructed dynamic C library loading' -arch=('any') -license=('PerlArtistic' 'GPL') -options=('!emptydirs') -depends=( - 'perl>=5.38' - 'perl<5.39' - 'perl-carp' - 'perl-exporter' - 'perl-parent') -makedepends=( - 'perl-module-build' - 'perl-test-simple') -checkdepends=( - 'perl-test-pod' - 'perl-test-pod-coverage') -url='https://metacpan.org/release/DynaLoader-Functions' -_distdir="DynaLoader-Functions-${pkgver}" -source=("https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/${_distdir}.tar.gz") -sha512sums=('58147714352fbd6e90bb42599e5967c9a93dbb899a587ef8a2a64dd13fc9e24176e17b3c2b870b5fa846b077373ca9ea27bec49b31113a8d9cb7d800f6d29599') - -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 -} |