[arch-commits] Commit in perl-digest-bubblebabble/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 24 08:33:09 UTC 2021


    Date: Monday, May 24, 2021 @ 08:33:09
  Author: felixonmars
Revision: 943951

archrelease: copy trunk to community-staging-any

Added:
  perl-digest-bubblebabble/repos/community-staging-any/
  perl-digest-bubblebabble/repos/community-staging-any/PKGBUILD
    (from rev 943949, perl-digest-bubblebabble/trunk/PKGBUILD)

----------+
 PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Copied: perl-digest-bubblebabble/repos/community-staging-any/PKGBUILD (from rev 943949, perl-digest-bubblebabble/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:33:09 UTC (rev 943951)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# 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-digest-bubblebabble
+pkgver=0.02
+pkgrel=7
+pkgdesc="Create bubble-babble fingerprints"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='https://search.cpan.org/dist/Digest-BubbleBabble'
+source=("https://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Digest-BubbleBabble-$pkgver.tar.gz")
+sha512sums=('7f5d7519184eed07e3b3ce302b7dd10980acf34af91f7ec8a317c2b7faf4a8a35dd4dadecf643c611456554ae7bfa82699afd80af195e801502047b243653ed5')
+_distdir="Digest-BubbleBabble-$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'" \
+      PERL_USE_UNSAFE_INC=1 \
+      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
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list