added dependencies of Net::DNS::SEC
[mirrors/ArchLinux-Packages.git] / perl-digest-bubblebabble / PKGBUILD
diff --git a/perl-digest-bubblebabble/PKGBUILD b/perl-digest-bubblebabble/PKGBUILD
new file mode 100644 (file)
index 0000000..b995665
--- /dev/null
@@ -0,0 +1,53 @@
+# Generated by Xyne::Arch::CPAN 0.07
+
+################################################################################
+# WARNING: An error occured when either retrieving or parsing the META.yml file
+# for this package. The information below is probably incomplete. Please contact
+# the author on CPAN and kindly inform him/her that this file is missing,
+# incorrect or malformatted:
+#   CPAN Distribution: Digest-BubbleBabble
+#   Distribution url: http://search.cpan.org/dist/Digest-BubbleBabble/
+#   META.yml url:  http://search.cpan.org/src/BTROTT/Digest-BubbleBabble-0.01/META.yml
+################################################################################
+
+pkgname=perl-digest-bubblebabble
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="CPAN package (no description found)"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/Digest-BubbleBabble/"
+license=('unknown')
+source=('http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Digest-BubbleBabble-0.01.tar.gz')
+md5sums=('0e8ef3de82ae909cfaeddf8269140c17')
+sha256sums=('ac9552108e1b09031ad55dc8fe00c2a0772b7cf4397229d32836614b5562ce75')
+options=(!emptydirs)
+
+build() {
+  _dir=$(find $srcdir -maxdepth 2 -type f -name 'Makefile.PL')
+  if [ ! -z "$_dir" ]; then
+    cd $(dirname "$_dir")
+    PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+    make  || return 1
+    make install DESTDIR="${pkgdir}" || return 1
+
+  else
+  _dir=$(find $srcdir -maxdepth 2 -type f -name 'Build.PL')
+  if [ ! -z "$_dir" ]; then
+    cd $(dirname "$_dir")
+    PERL_MM_USE_DEFAULT=1 perl Build.PL INSTALLDIRS=vendor || return 1
+    ./Build  || return 1
+    ./Build install destdir=${pkgdir} || return 1
+
+  else
+    echo "error: failed to detect build method for $pkgname"
+    echo "you may be able to fix this by editing the PKGBUILD"
+    return 1
+  fi fi
+
+  # remove perllocal.pod and .packlist
+  find ${pkgdir} -name perllocal.pod -delete
+  find ${pkgdir} -name .packlist -delete
+}
+
+# vim:set ts=2 sw=2 et:
+
This page took 0.12584 seconds and 4 git commands to generate.