summaryrefslogtreecommitdiff
path: root/perl-digest-jhash/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'perl-digest-jhash/PKGBUILD')
-rw-r--r--perl-digest-jhash/PKGBUILD79
1 files changed, 0 insertions, 79 deletions
diff --git a/perl-digest-jhash/PKGBUILD b/perl-digest-jhash/PKGBUILD
deleted file mode 100644
index b09bb2775..000000000
--- a/perl-digest-jhash/PKGBUILD
+++ /dev/null
@@ -1,79 +0,0 @@
-# Maintainer: Erich Eckner <arch at eckner dot net>
-# Generator : neuesPerlPaket (5872fdbe767f20dd006eece094815303adfcd3b336cb5ad02d10742b82e6f11e31530fef3b41a2af59678d729daebff83cde847dab68d62647f62cf8dc586685)
-
-pkgname='perl-digest-jhash'
-pkgver=0.10
-pkgrel=12
-pkgdesc='Perl extension for 32 bit Jenkins Hashing Algorithm'
-arch=('x86_64' 'i686' 'pentium4')
-license=('PerlArtistic' 'GPL')
-options=('!emptydirs')
-_pinned_dependencies=(
- 'glibc>=2.31'
-)
-depends=(
- 'perl>=5.38'
- 'perl<5.39'
- "${_pinned_dependencies[@]}"
- 'perl-exporter')
-makedepends=(
- 'perl-extutils-makemaker'
- 'perl-file-temp'
- 'perl-io'
- 'perl-pathtools'
- 'perl-test'
- 'perl-test-simple')
-checkdepends=(
- 'perl-cpan-changes'
- 'perl-test-pod')
-url='https://metacpan.org/release/Digest-JHash'
-_distdir="Digest-JHash-${pkgver}"
-source=("https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/${_distdir}.tar.gz")
-sha512sums=('901b5c54c3dc3108829907011f3fc6936f2d1d887404cb91e294c09f83dca50a31270cb5b87aeadaaad03d0764f018f90350179ae773e97ffa48f9761efd1b71')
-
-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
-}