diff options
Diffstat (limited to 'perl-data-section/PKGBUILD')
-rw-r--r-- | perl-data-section/PKGBUILD | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/perl-data-section/PKGBUILD b/perl-data-section/PKGBUILD deleted file mode 100644 index 40623ac1..00000000 --- a/perl-data-section/PKGBUILD +++ /dev/null @@ -1,76 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Generator : neuesPerlPaket (ef0b8d9e9ed5e7aec93f3e72d031ac7ee7fb4246e042c09b06bbdcecfbc0e3c879d26484951ecde4eb4b299510817c6aead5d93f6a73544b768ed6467f4108fc) - -pkgname='perl-data-section' -pkgver='0.200007' -pkgrel='3' -pkgdesc='read multiple hunks of data out of your DATA section' -arch=('any') -license=('PerlArtistic' 'GPL') -options=('!emptydirs') -depends=( - 'perl' - 'perl-encode' - 'perl-mro-compat>=0.09' - 'perl-sub-exporter>=0.979' -) -makedepends=( - 'perl' - 'perl-base' - 'perl-extutils-makemaker' - 'perl-lib' - 'perl-pathtools' - 'perl-test-failwarnings' - 'perl-test-simple>=0.96' -) -url='https://metacpan.org/release/Data-Section' -_distdir="Data-Section-${pkgver}" -source=("https://cpan.metacpan.org/authors/id/R/RJ/RJBS/${_distdir}.tar.gz") -sha512sums=('0c23141ccc2041e8c1c222c95d6eab4b56e2d77a94c68507f67acbb62fa5132e9229e9680c9fff6ebbc6a47a42cf1943d6e5b50a5f0168c66193fb52aaa241f0') - -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 -} |